[Webkit-unassigned] [Bug 59466] New: Incorrect OwnPtr usage in MediaPlayer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 26 10:21:38 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59466
Summary: Incorrect OwnPtr usage in MediaPlayer
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: enne at google.com
CC: abarth at webkit.org, scherkus at chromium.org,
vrk at chromium.org, enne at google.com
As part of the work to remove the LOOSE_OWN_PTR #define in OwnPtr.h, I was looking at Source/WebCore/platform/graphics/MediaPlayer* and saw this:
OwnPtr<MediaPlayerPrivateInterface*> m_private;
It seems to be an error to me to store a raw pointer in an OwnPtr and that this really was intended to be OwnPtr<MediaPlayerPrivateInterface>.
I don't know if it's possible, but it'd also probably be nice to change the CreateMediaEnginePlayer interface to return a PassOwnPtr<MediaPlayerPrivateInterface> too.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list