Index: Source/core/html/shadow/MediaControlElementTypes.cpp |
diff --git a/Source/core/html/shadow/MediaControlElementTypes.cpp b/Source/core/html/shadow/MediaControlElementTypes.cpp |
index 5812a400cfbefe53faab80c3c8606d3383e2aae0..70d738556f731e1bee57b58bf0f4ca9d2a611bc1 100644 |
--- a/Source/core/html/shadow/MediaControlElementTypes.cpp |
+++ b/Source/core/html/shadow/MediaControlElementTypes.cpp |
@@ -95,7 +95,7 @@ void MediaControlElement::setDisplayType(MediaControlElementType displayType) |
return; |
m_displayType = displayType; |
- if (LayoutObject* object = m_element->renderer()) |
+ if (LayoutObject* object = m_element->layoutObject()) |
object->setShouldDoFullPaintInvalidation(); |
} |