Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| index b17a53a2ca6cd96c137b027b624f8128d17f453b..b52842c7489b91d0214b6c4c7667d0c5d5ea03b9 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| @@ -589,6 +589,8 @@ void HTMLMediaElement::parseAttribute(const QualifiedName& name, |
| setPlayerPreload(); |
| } else if (name == disableremoteplaybackAttr) { |
| UseCounter::count(document(), UseCounter::DisableRemotePlaybackAttribute); |
| + if (mediaControls()) |
|
mlamouri (slow - plz ping)
2016/10/15 00:03:48
If you are worried about calling this too often, y
whywhat
2016/10/15 00:33:21
Done. Missed the fact we get the old value in the
|
| + mediaControls()->refreshCastButtonVisibility(); |
| } else { |
| HTMLElement::parseAttribute(name, oldValue, value); |
| } |