| Index: chrome/renderer/webplugin_delegate_proxy.cc
|
| diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
|
| index a13053ba4cdf87343c80416490d0eddca95ea8cb..0cb2f1f6b48d64a80c56075bea39040c512adb6e 100644
|
| --- a/chrome/renderer/webplugin_delegate_proxy.cc
|
| +++ b/chrome/renderer/webplugin_delegate_proxy.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/ref_counted.h"
|
| #include "base/string_util.h"
|
| #include "base/gfx/size.h"
|
| +#include "base/gfx/native_widget_types.h"
|
|
|
| #include "chrome/app/chrome_dll_resource.h"
|
| #include "chrome/common/gfx/chrome_canvas.h"
|
| @@ -231,7 +232,7 @@ bool WebPluginDelegateProxy::Initialize(const GURL& url, char** argn,
|
|
|
| // Now tell the PluginInstance in the plugin process to initialize.
|
| PluginMsg_Init_Params params;
|
| - params.containing_window = render_view_->host_window();
|
| + params.containing_window = gfx::NativeViewFromId(render_view_->host_window());
|
| params.url = url;
|
| for (int i = 0; i < argc; ++i) {
|
| params.arg_names.push_back(argn[i]);
|
|
|