| Index: components/plugins/renderer/mobile_youtube_plugin.cc
|
| diff --git a/components/plugins/renderer/mobile_youtube_plugin.cc b/components/plugins/renderer/mobile_youtube_plugin.cc
|
| index 7ed4540ea14e954ff02a76693684ef27e91ac301..4664db7513c878a6973c6ad9c95289f068b90409 100644
|
| --- a/components/plugins/renderer/mobile_youtube_plugin.cc
|
| +++ b/components/plugins/renderer/mobile_youtube_plugin.cc
|
| @@ -110,11 +110,11 @@ void MobileYouTubePlugin::OpenYoutubeUrlCallback() {
|
| void MobileYouTubePlugin::BindWebFrame(WebFrame* frame) {
|
| v8::Isolate* isolate = blink::mainThreadIsolate();
|
| v8::HandleScope handle_scope(isolate);
|
| - v8::Handle<v8::Context> context = frame->mainWorldScriptContext();
|
| + v8::Local<v8::Context> context = frame->mainWorldScriptContext();
|
| DCHECK(!context.IsEmpty());
|
|
|
| v8::Context::Scope context_scope(context);
|
| - v8::Handle<v8::Object> global = context->Global();
|
| + v8::Local<v8::Object> global = context->Global();
|
| global->Set(gin::StringToV8(isolate, "plugin"),
|
| gin::CreateHandle(isolate, this).ToV8());
|
| }
|
|
|