Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index eceb6899bc7fe030dc114d8793b801f48fac98ea..05e1c560c86335768cfc51fd9657dc9fa71e43cb 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -278,7 +278,7 @@ WebPluginContainerImpl* WebFrameImpl::pluginContainerFromFrame(Frame* frame) |
return 0; |
if (!frame->document() || !frame->document()->isPluginDocument()) |
return 0; |
- PluginDocument* pluginDocument = static_cast<PluginDocument*>(frame->document()); |
+ PluginDocument* pluginDocument = toPluginDocument(frame->document()); |
tkent
2013/09/10 21:54:51
nit: We can remove a local variable |pluginDocumen
|
return toPluginContainerImpl(pluginDocument->pluginWidget()); |
} |