Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index b411b80e28e62a5f41c61e35d84c76dae5cec4eb..7ebce3fe126085ecf2d8d5da570dff2d0e7444b5 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -193,6 +193,13 @@ void MediaControls::reset() |
makeOpaque(); |
} |
+IntRect MediaControls::absoluteRectForTextTracks() |
+{ |
+ if (LayoutObject* layoutObject = m_panel->layoutObject()) |
+ return layoutObject->absoluteBoundingBoxRect(); |
+ return IntRect(); |
+} |
+ |
void MediaControls::show() |
{ |
makeOpaque(); |