summaryrefslogtreecommitdiffstats
path: root/content/renderer/mock_content_renderer_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/mock_content_renderer_client.cc')
-rw-r--r--content/renderer/mock_content_renderer_client.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/content/renderer/mock_content_renderer_client.cc b/content/renderer/mock_content_renderer_client.cc
index ed2b8b0..843561e 100644
--- a/content/renderer/mock_content_renderer_client.cc
+++ b/content/renderer/mock_content_renderer_client.cc
@@ -29,11 +29,12 @@ std::string MockContentRendererClient::GetDefaultEncoding() {
return std::string();
}
-WebKit::WebPlugin* MockContentRendererClient::CreatePlugin(
+bool MockContentRendererClient::OverrideCreatePlugin(
RenderView* render_view,
WebKit::WebFrame* frame,
- const WebKit::WebPluginParams& params) {
- return NULL;
+ const WebKit::WebPluginParams& params,
+ WebKit::WebPlugin** plugin) {
+ return false;
}
void MockContentRendererClient::ShowErrorPage(RenderView* render_view,