| Index: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
|
| index 40ad55bddfe176f13268f245cf57cfaf4a3f1c94..e10c8728030a6cc212e0b962035340295242c4c6 100644
|
| --- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
|
| +++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
|
| @@ -27,6 +27,11 @@ void HTMLMediaElementRemotePlayback::setBooleanAttribute(
|
| bool value) {
|
| ASSERT(name == HTMLNames::disableremoteplaybackAttr);
|
| element.setBooleanAttribute(name, value);
|
| +
|
| + HTMLMediaElementRemotePlayback& self =
|
| + HTMLMediaElementRemotePlayback::from(element);
|
| + if (self.m_remote && value)
|
| + self.m_remote->remotePlaybackDisabled();
|
| }
|
|
|
| // static
|
|
|