| Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| ===================================================================
|
| --- webkit/tools/test_shell/mac/test_webview_delegate.mm (revision 98412)
|
| +++ webkit/tools/test_shell/mac/test_webview_delegate.mm (working copy)
|
| @@ -16,6 +16,7 @@
|
| #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
|
| #include "webkit/tools/test_shell/test_shell.h"
|
|
|
| +using webkit::npapi::WebPluginDelegateImpl;
|
| using WebKit::WebCursorInfo;
|
| using WebKit::WebNavigationPolicy;
|
| using WebKit::WebPopupMenu;
|
| @@ -176,8 +177,11 @@
|
| return NULL;
|
|
|
| gfx::PluginWindowHandle containing_view = NULL;
|
| - return webkit::npapi::WebPluginDelegateImpl::Create(
|
| - path, mime_type, containing_view);
|
| + WebPluginDelegateImpl* delegate =
|
| + WebPluginDelegateImpl::Create(path, mime_type, containing_view);
|
| + if (delegate)
|
| + delegate->SetNoBufferContext();
|
| + return delegate;
|
| }
|
|
|
| void TestWebViewDelegate::CreatedPluginWindow(
|
|
|