Index: Source/core/layout/LayoutMedia.cpp |
diff --git a/Source/core/layout/LayoutMedia.cpp b/Source/core/layout/LayoutMedia.cpp |
index 490f0f0d68ac4494a0c53fa2d6184eb4a31d889a..6f4ac963903d041d4e09d25d2ac15ad951846aa7 100644 |
--- a/Source/core/layout/LayoutMedia.cpp |
+++ b/Source/core/layout/LayoutMedia.cpp |
@@ -53,7 +53,7 @@ void LayoutMedia::layout() |
LayoutImage::layout(); |
- RenderBox* controlsRenderer = toRenderBox(m_children.firstChild()); |
+ LayoutBox* controlsRenderer = toLayoutBox(m_children.firstChild()); |
if (!controlsRenderer) |
return; |