Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(969)

Unified Diff: Source/web/WebPluginDocument.cpp

Issue 24056004: Refactoring: toPluginView and toPluginDocument implemented but not used. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« Source/web/WebFrameImpl.cpp ('K') | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginDocument.cpp
diff --git a/Source/web/WebPluginDocument.cpp b/Source/web/WebPluginDocument.cpp
index 2afa2533208349c7bf65900f751e826c773ea615..9783a6f7e2ef074dbf89042041f186bf9bf7797c 100644
--- a/Source/web/WebPluginDocument.cpp
+++ b/Source/web/WebPluginDocument.cpp
@@ -48,7 +48,7 @@ WebPlugin* WebPluginDocument::plugin()
if (!isPluginDocument())
return 0;
PluginDocument* doc = unwrap<PluginDocument>();
- WebPluginContainerImpl* container = toPluginContainerImpl(static_cast<PluginDocument*>(doc)->pluginWidget());
+ WebPluginContainerImpl* container = toPluginContainerImpl(doc->pluginWidget());
tkent 2013/09/10 21:54:51 nit: We can remove a local variable |container|.
return container->plugin();
}
« Source/web/WebFrameImpl.cpp ('K') | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698