Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index 0effc7358ad5eb8d60b714a675b26b7bf420a793..0f7a52bb9a8faace9b294a2882ac244c2c48781a 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -271,7 +271,7 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu) |
if (mediaElement->shouldShowControls()) |
data.mediaFlags |= WebContextMenuData::MediaControls; |
} else if (isHTMLObjectElement(*r.innerNonSharedNode()) || isHTMLEmbedElement(*r.innerNonSharedNode())) { |
- RenderObject* object = r.innerNonSharedNode()->renderer(); |
+ LayoutObject* object = r.innerNonSharedNode()->renderer(); |
if (object && object->isRenderPart()) { |
Widget* widget = toRenderPart(object)->widget(); |
if (widget && widget->isPluginContainer()) { |