diff options
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl_mac.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm index 54bf43b..452410d 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm +++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm @@ -58,7 +58,7 @@ WebPluginDelegateImpl* g_current_plugin_instance = NULL; WebPluginDelegate* WebPluginDelegate::Create( const FilePath& filename, const std::string& mime_type, - gfx::NativeView containing_view) { + gfx::PluginWindowHandle containing_view) { scoped_refptr<NPAPI::PluginLib> plugin = NPAPI::PluginLib::CreatePluginLib(filename); if (plugin.get() == NULL) @@ -73,12 +73,13 @@ WebPluginDelegate* WebPluginDelegate::Create( return new WebPluginDelegateImpl(containing_view, instance.get()); } -bool WebPluginDelegateImpl::IsPluginDelegateWindow(gfx::NativeWindow window) { +bool WebPluginDelegateImpl::IsPluginDelegateWindow( + gfx::PluginNativeView window) { return false; } bool WebPluginDelegateImpl::GetPluginNameFromWindow( - gfx::NativeWindow window, std::wstring *plugin_name) { + gfx::PluginNativeView window, std::wstring *plugin_name) { if (NULL == plugin_name) { return false; } |