Index: Source/web/WebNode.cpp |
diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp |
index c75b647c6c1517c776be2428af92e50241522eb2..e280cf581819e44c922bc040289caa88d1191670 100644 |
--- a/Source/web/WebNode.cpp |
+++ b/Source/web/WebNode.cpp |
@@ -236,7 +236,7 @@ WebPluginContainer* WebNode::pluginContainer() const |
return 0; |
const Node& coreNode = *constUnwrap<Node>(); |
if (isHTMLObjectElement(coreNode) || isHTMLEmbedElement(coreNode)) { |
- LayoutObject* object = coreNode.renderer(); |
+ LayoutObject* object = coreNode.layoutObject(); |
if (object && object->isLayoutPart()) { |
Widget* widget = toLayoutPart(object)->widget(); |
if (widget && widget->isPluginContainer()) |