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 53a1c8f774183999f1a1fb01c2aca72400796468..93047acb97337bea5d83f4b494e2305f482d15bb 100644 |
--- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp |
@@ -604,6 +604,16 @@ bool MediaControlsPainter::paintMediaSubtitlesIcon(const LayoutObject& object, c |
return paintMediaButton(paintInfo.context, rect, mediaSubtitlesIcon); |
} |
+bool MediaControlsPainter::paintMediaOverflowMenu(const LayoutObject& object, const PaintInfo& paintInfo, const IntRect& rect) |
+{ |
+ const HTMLMediaElement* mediaElement = toParentMediaElement(object); |
+ if (!mediaElement) |
+ return false; |
+ |
+ static Image* mediaOverflowButton = platformResource("mediaplayerOverflowMenu"); |
+ return paintMediaButton(paintInfo.context, rect, mediaOverflowButton); |
+} |
+ |
void MediaControlsPainter::adjustMediaSliderThumbSize(ComputedStyle& style) |
{ |
static Image* mediaSliderThumb = platformResource("mediaplayerSliderThumb", |