Index: content/renderer/web_ui_extension.cc |
diff --git a/content/renderer/web_ui_extension.cc b/content/renderer/web_ui_extension.cc |
index 9fb77e06cbf45d4d3e89af53d86eed71d9464161..94c33817b973247b08692422a86a9627da7298a0 100644 |
--- a/content/renderer/web_ui_extension.cc |
+++ b/content/renderer/web_ui_extension.cc |
@@ -64,13 +64,13 @@ bool ShouldRespondToRequest( |
void WebUIExtension::Install(blink::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(); |
if (context.IsEmpty()) |
return; |
v8::Context::Scope context_scope(context); |
- v8::Handle<v8::Object> chrome = GetOrCreateChromeObject(isolate, |
+ v8::Local<v8::Object> chrome = GetOrCreateChromeObject(isolate, |
context->Global()); |
chrome->Set(gin::StringToSymbol(isolate, "send"), |
gin::CreateFunctionTemplate( |
@@ -100,7 +100,7 @@ void WebUIExtension::Send(gin::Arguments* args) { |
if (args->PeekNext().IsEmpty() || args->PeekNext()->IsUndefined()) { |
content.reset(new base::ListValue()); |
} else { |
- v8::Handle<v8::Object> obj; |
+ v8::Local<v8::Object> obj; |
if (!args->GetNext(&obj)) { |
args->ThrowError(); |
return; |