| Index: webkit/support/test_webplugin_page_delegate.h
|
| diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h
|
| index 1b4df8882e440314aa9a1a43dd659ef04278c9c1..035f33550a78f79b1b260895a26bb0384bc06287 100644
|
| --- a/webkit/support/test_webplugin_page_delegate.h
|
| +++ b/webkit/support/test_webplugin_page_delegate.h
|
| @@ -19,12 +19,7 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate {
|
|
|
| virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
|
| const FilePath& file_path,
|
| - const std::string& mime_type) {
|
| - // We don't need a valid native window handle in layout tests.
|
| - // So just passing 0.
|
| - return webkit::npapi::WebPluginDelegateImpl::Create(
|
| - file_path, mime_type, 0);
|
| - }
|
| + const std::string& mime_type);
|
| virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) {}
|
| virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) {}
|
| virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {}
|
| @@ -35,9 +30,7 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate {
|
| const gfx::Size& size,
|
| const std::string& json_arguments,
|
| std::string* json_retval) {}
|
| - virtual WebKit::WebCookieJar* GetCookieJar() {
|
| - return WebKit::webKitClient()->cookieJar();
|
| - }
|
| + virtual WebKit::WebCookieJar* GetCookieJar();
|
| };
|
|
|
| } // namespace webkit_support
|
|
|