Index: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
index b60cabd1036dd920810f452556cfee953eb2353d..6894b908ac0997059f833efa3627b8f558dfba78 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp |
@@ -46,7 +46,7 @@ |
#include "core/html/TimeRanges.h" |
#include "core/html/media/HTMLMediaElementControlsList.h" |
#include "core/html/media/HTMLMediaSource.h" |
-#include "core/html/shadow/MediaControls.h" |
+#include "core/html/media/MediaControls.h" |
#include "core/html/track/TextTrackList.h" |
#include "core/input/EventHandler.h" |
#include "core/layout/api/LayoutSliderItem.h" |
@@ -138,7 +138,7 @@ MediaControlPanelElement::MediaControlPanelElement(MediaControls& mediaControls) |
m_isDisplayed(false), |
m_opaque(true), |
m_transitionTimer(TaskRunnerHelper::get(TaskType::UnspecedTimer, |
- &mediaControls.document()), |
+ &mediaControls.ownerDocument()), |
this, |
&MediaControlPanelElement::transitionTimerFired) {} |