| 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..6504977b6cc0cb6baabae2cc3d46d3cadc039e6e 100644
|
| --- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
|
| @@ -217,6 +217,18 @@ static void PaintRoundedSliderBackground(const IntRect& rect,
|
| slider_background_color);
|
| }
|
|
|
| +bool MediaControlsPainter::PaintMediaRemotingCastIcon(
|
| + const LayoutObject& object,
|
| + const PaintInfo& paintInfo,
|
| + const IntRect& rect) {
|
| + const HTMLMediaElement* media_element = ToParentMediaElement(object);
|
| + if (!media_element)
|
| + return false;
|
| + static Image* cast_icon = PlatformResource("mediaRemotingCastIcon");
|
| +
|
| + return PaintMediaButton(paintInfo.context, rect, cast_icon);
|
| +}
|
| +
|
| static void PaintSliderRangeHighlight(const IntRect& rect,
|
| const ComputedStyle& style,
|
| GraphicsContext& context,
|
|
|