Index: Source/core/html/PluginDocument.cpp |
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp |
index b4f129cb8f6e185fa97a95da8d5300a3a5a95dd8..f53428edb87f6debe5bfa9a4617e633a018baea3 100644 |
--- a/Source/core/html/PluginDocument.cpp |
+++ b/Source/core/html/PluginDocument.cpp |
@@ -72,7 +72,7 @@ void PluginDocumentParser::createDocumentStructure() |
{ |
RefPtr<Element> rootElement = document()->createElement(htmlTag, false); |
document()->appendChild(rootElement, IGNORE_EXCEPTION); |
- static_cast<HTMLHtmlElement*>(rootElement.get())->insertedByParser(); |
+ toHTMLHtmlElement(rootElement.get())->insertedByParser(); |
if (document()->frame() && document()->frame()->loader()) |
document()->frame()->loader()->dispatchDocumentElementAvailable(); |