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

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 174126: Need to cast to WebCore::Widget explicitly since the method being... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
===================================================================
--- webkit/glue/webplugin_impl.cc (revision 23797)
+++ webkit/glue/webplugin_impl.cc (working copy)
@@ -24,7 +24,6 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/string_util.h"
-//#include "base/sys_string_conversions.h"
#include "net/base/escape.h"
#include "webkit/api/public/WebCursorInfo.h"
#include "webkit/api/public/WebData.h"
@@ -1142,7 +1141,10 @@
// of those sub JSObjects.
if (frame()) {
ASSERT(widget_);
- frame()->script()->cleanupScriptObjectsForPlugin(widget_);
+ // TODO(darin): Avoid these casts!
+ frame()->script()->cleanupScriptObjectsForPlugin(
+ static_cast<WebCore::Widget*>(
+ static_cast<WebKit::WebPluginContainerImpl*>(widget_)));
}
if (delegate_) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698