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

Unified Diff: third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp

Issue 2810173003: Media Controls: move all MediaControlDivElement sub-classes to modules/. (Closed)
Patch Set: fix typo 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/paint/MediaControlsPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
index 48ec7094c28e43d7dee482b96a00a0a776209e43..359bdb812b988f2e7ffbad606e960c1ee1f1dab4 100644
--- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
@@ -181,7 +181,9 @@ bool MediaControlsPainter::PaintMediaOverlayPlayButton(
if (!HasSource(media_element) || !media_element->paused())
return false;
- MediaControlPanelElement* panel_element = nullptr;
+ // TODO(mlamouri): it might be possible to use the PanelLayoutObject() call
+ // instead.
+ HTMLDivElement* panel_element = nullptr;
if (media_element->GetMediaControls())
panel_element = media_element->GetMediaControls()->PanelElement();

Powered by Google App Engine
This is Rietveld 408576698