Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp

Issue 2795783004: Move core MediaControls implementation to modules/media_controls/. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698