Index: Source/core/html/HTMLEmbedElement.cpp |
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp |
index 32caf129b5d232b3b92614882d5e06d5b21563c9..cd187aa1cccbc801cec16e7c52bcbd1f32314471 100644 |
--- a/Source/core/html/HTMLEmbedElement.cpp |
+++ b/Source/core/html/HTMLEmbedElement.cpp |
@@ -173,10 +173,10 @@ void HTMLEmbedElement::updateWidget(PluginCreationOption pluginCreationOption) |
requestObject(m_url, m_serviceType, paramNames, paramValues); |
} |
-bool HTMLEmbedElement::rendererIsNeeded(const NodeRenderingContext& context) |
+bool HTMLEmbedElement::rendererIsNeeded(const RenderStyle& style) |
{ |
if (isImageType()) |
- return HTMLPlugInImageElement::rendererIsNeeded(context); |
+ return HTMLPlugInImageElement::rendererIsNeeded(style); |
Frame* frame = document().frame(); |
if (!frame) |
@@ -192,7 +192,7 @@ bool HTMLEmbedElement::rendererIsNeeded(const NodeRenderingContext& context) |
return false; |
} |
} |
- return HTMLPlugInImageElement::rendererIsNeeded(context); |
+ return HTMLPlugInImageElement::rendererIsNeeded(style); |
} |
bool HTMLEmbedElement::isURLAttribute(const Attribute& attribute) const |