RESOLVED FIXED 79050
MEDIA_STREAM should be implemented as a PageSupplement.
https://bugs.webkit.org/show_bug.cgi?id=79050
Summary MEDIA_STREAM should be implemented as a PageSupplement.
Hajime Morrita
Reported 2012-02-20 16:18:41 PST
UserMediaClient should be extracted as a PageSupplement to eliminate MEDIA_STREAM ifdef in Page.h.
Attachments
Patch (19.51 KB, patch)
2012-02-20 18:30 PST, Hajime Morrita
no flags
Patch (20.24 KB, patch)
2012-02-20 19:35 PST, Hajime Morrita
abarth: review+
morrita: commit-queue-
Hajime Morrita
Comment 1 2012-02-20 18:30:13 PST
Philippe Normand
Comment 2 2012-02-20 18:51:16 PST
Hajime Morrita
Comment 3 2012-02-20 19:35:45 PST
Hajime Morrita
Comment 4 2012-02-20 19:36:03 PST
Hi Adam, could you take a look? This should be easy. Note that there are some other ifdefs I don't touch in this change. I expect They would be handled by the IDL supplemental refactoring.
Adam Barth
Comment 5 2012-02-21 15:54:52 PST
Comment on attachment 127899 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127899&action=review > Source/WebCore/mediastream/UserMediaController.cpp:34 > + DEFINE_STATIC_LOCAL(AtomicString, name, ("userMedia")); I would have called this UserMediaController to match the class name. (Just to make sure there are no collisions.)
Hajime Morrita
Comment 6 2012-02-21 19:56:57 PST
Note You need to log in before you can comment on or make changes to this bug.