| Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| ===================================================================
|
| --- webkit/tools/test_shell/mac/test_webview_delegate.mm (revision 37920)
|
| +++ webkit/tools/test_shell/mac/test_webview_delegate.mm (working copy)
|
| @@ -171,7 +171,7 @@
|
| WebWidgetHost *host = GetWidgetHost();
|
| if (!host)
|
| return NULL;
|
| - gfx::NativeView view = host->view_handle();
|
| + gfx::PluginWindowHandle containing_view = NULL;
|
|
|
| bool allow_wildcard = true;
|
| WebPluginInfo info;
|
| @@ -181,9 +181,11 @@
|
| }
|
|
|
| if (actual_mime_type && !actual_mime_type->empty())
|
| - return WebPluginDelegateImpl::Create(info.path, *actual_mime_type, view);
|
| + return WebPluginDelegateImpl::Create(info.path, *actual_mime_type,
|
| + containing_view);
|
| else
|
| - return WebPluginDelegateImpl::Create(info.path, mime_type, view);
|
| + return WebPluginDelegateImpl::Create(info.path, mime_type,
|
| + containing_view);
|
| }
|
|
|
| void TestWebViewDelegate::CreatedPluginWindow(
|
|
|