| Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| index 6fcf2642e672bbb9fa145f243b43bcf7045fa993..811996a545f6752fcf5a449b696119c926d17b1c 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLMediaElement.h"
|
| #include "core/html/HTMLVideoElement.h"
|
| +#include "core/html/media/HTMLMediaElementControlsList.h"
|
| #include "core/html/shadow/MediaControlsMediaEventListener.h"
|
| #include "core/html/shadow/MediaControlsOrientationLockDelegate.h"
|
| #include "core/html/shadow/MediaControlsWindowEventListener.h"
|
| @@ -88,7 +89,7 @@ static bool shouldShowFullscreenButton(const HTMLMediaElement& mediaElement) {
|
| if (!Fullscreen::fullscreenEnabled(mediaElement.document()))
|
| return false;
|
|
|
| - if (mediaElement.controlsList()->shouldHideFullscreen()) {
|
| + if (mediaElement.controlsListInternal()->shouldHideFullscreen()) {
|
| UseCounter::count(mediaElement.document(),
|
| UseCounter::HTMLMediaElementControlsListNoFullscreen);
|
| return false;
|
| @@ -108,7 +109,7 @@ static bool shouldShowCastButton(HTMLMediaElement& mediaElement) {
|
| return false;
|
|
|
| // The page disabled the button via the attribute.
|
| - if (mediaElement.controlsList()->shouldHideRemotePlayback()) {
|
| + if (mediaElement.controlsListInternal()->shouldHideRemotePlayback()) {
|
| UseCounter::count(mediaElement.document(),
|
| UseCounter::HTMLMediaElementControlsListNoRemotePlayback);
|
| return false;
|
|
|