Index: webkit/glue/plugins/plugin_instance.h |
diff --git a/webkit/glue/plugins/plugin_instance.h b/webkit/glue/plugins/plugin_instance.h |
index e73d49fd2717bf18beb313a80deb8f2b2926f056..ba8824f8ba9a2fee539f56290293fdf882991542 100644 |
--- a/webkit/glue/plugins/plugin_instance.h |
+++ b/webkit/glue/plugins/plugin_instance.h |
@@ -70,8 +70,10 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { |
NPP npp() { return npp_; } |
// Get/Set for the instance's window handle. |
- gfx::NativeView window_handle() { return window_handle_; } |
- void set_window_handle(gfx::NativeView value) { window_handle_ = value; } |
+ gfx::PluginWindowHandle window_handle() const { return window_handle_; } |
+ void set_window_handle(gfx::PluginWindowHandle value) { |
+ window_handle_ = value; |
+ } |
// Get/Set whether this instance is in Windowless mode. |
// Default is false. |
@@ -223,7 +225,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { |
scoped_refptr<PluginHost> host_; |
NPPluginFuncs* npp_functions_; |
std::vector<scoped_refptr<PluginStream> > open_streams_; |
- gfx::NativeView window_handle_; |
+ gfx::PluginWindowHandle window_handle_; |
bool windowless_; |
bool transparent_; |
WebPlugin* webplugin_; |