Index: components/plugins/renderer/mobile_youtube_plugin.h |
diff --git a/components/plugins/renderer/mobile_youtube_plugin.h b/components/plugins/renderer/mobile_youtube_plugin.h |
index 80a4f99ca9b8d896a8c01f994fe22b8466eee665..5af508371f8a5a13cf278085070a43ffd8ba7c94 100644 |
--- a/components/plugins/renderer/mobile_youtube_plugin.h |
+++ b/components/plugins/renderer/mobile_youtube_plugin.h |
@@ -27,11 +27,12 @@ class MobileYouTubePlugin : public PluginPlaceholder { |
private: |
// Opens a youtube app in the current tab. |
- void OpenYoutubeUrlCallback(const webkit_glue::CppArgumentList& args, |
- webkit_glue::CppVariant* result); |
+ static void OpenYoutubeUrlCallback( |
+ const v8::FunctionCallbackInfo<v8::Value>& args); |
- // WebViewPlugin::Delegate (via PluginPlaceholder) method |
- virtual void BindWebFrame(blink::WebFrame* frame) OVERRIDE; |
+ // PluginPlaceholder method |
+ virtual void InstallAdditionalCallbacks( |
+ v8::Handle<v8::Template> prototype) OVERRIDE; |
DISALLOW_COPY_AND_ASSIGN(MobileYouTubePlugin); |
}; |