| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| index 7e93de204668e5ba00636fb503c02f15fae9a430..68c5c311b44125e2296c464f5ab20e112120bbc2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| @@ -117,7 +117,7 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| };
|
| void scheduleTextTrackResourceLoad();
|
|
|
| - bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; }
|
| + bool hasRemoteRoutes() const;
|
| bool isPlayingRemotely() const { return m_playingRemotely; }
|
|
|
| // error state
|
| @@ -308,6 +308,9 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| WebRemotePlaybackClient* remotePlaybackClient() {
|
| return m_remotePlaybackClient;
|
| }
|
| + const WebRemotePlaybackClient* remotePlaybackClient() const {
|
| + return m_remotePlaybackClient;
|
| + }
|
|
|
| protected:
|
| HTMLMediaElement(const QualifiedName&, Document&);
|
| @@ -386,7 +389,7 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
| void removeTextTrack(WebInbandTextTrack*) final;
|
| void mediaSourceOpened(WebMediaSource*) final;
|
| void requestSeek(double) final;
|
| - void remoteRouteAvailabilityChanged(bool) final;
|
| + void remoteRouteAvailabilityChanged(WebRemotePlaybackAvailability) final;
|
| void connectedToRemoteDevice() final;
|
| void disconnectedFromRemoteDevice() final;
|
| void cancelledRemotePlaybackRequest() final;
|
| @@ -641,7 +644,6 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
|
|
|
| bool m_tracksAreReady : 1;
|
| bool m_processingPreferenceChange : 1;
|
| - bool m_remoteRoutesAvailable : 1;
|
| bool m_playingRemotely : 1;
|
| // Whether this element is in overlay fullscreen mode.
|
| bool m_inOverlayFullscreenVideo : 1;
|
|
|