Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index b0560f11dddbc156a7e77c71ccca1c75b39140a6..486168595d42c6d667301a7cbc196bcee9f41b1f 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -356,7 +356,7 @@ void MediaControls::refreshClosedCaptionsButtonVisibility() |
static Element* elementFromCenter(Element& element) |
{ |
- RefPtrWillBeRawPtr<ClientRect> clientRect = element.getBoundingClientRect(); |
+ ClientRect* clientRect = element.getBoundingClientRect(); |
int centerX = static_cast<int>((clientRect->left() + clientRect->right()) / 2); |
int centerY = static_cast<int>((clientRect->top() + clientRect->bottom()) / 2); |