| Summary: | [Mac] Move MediaPlaybackTargetPicker | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | ||||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Eric Carlson
2015-03-19 18:31:37 PDT
Created attachment 249075 [details]
Proposed patch
Comment on attachment 249075 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=249075&action=review > Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.h:31 > +#include <wtf/RefCounted.h> why? > Source/WebCore/platform/graphics/MediaPlaybackTargetPicker.h:32 > +#include <wtf/RefPtr.h> why? > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:103 > + m_deviceChangeTimer.stop(); > + m_deviceChangeTimer.startOneShot(0); are both of these necessary? > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:112 > + [m_devicePickerMenuController.get() addObserver:m_devicePickerMenuControllerDelegate.get() forKeyPath:externalOutputDeviceAvailableKeyName options:NSKeyValueObservingOptionNew context:nullptr]; no .get()s throughout here. Committed r181777: http://trac.webkit.org/changeset/181777 |