Index: content/shell/renderer/binding_helpers.h |
diff --git a/content/shell/renderer/binding_helpers.h b/content/shell/renderer/binding_helpers.h |
index e2fffa700013743b3d6a733beabddf8bd2ef8b55..738702151448b9835d6c71c9ad948989072b9a9b 100644 |
--- a/content/shell/renderer/binding_helpers.h |
+++ b/content/shell/renderer/binding_helpers.h |
@@ -22,7 +22,7 @@ void InstallAsWindowProperties(WrappedClass* wrapped, |
const std::vector<std::string>& names) { |
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; |
@@ -31,8 +31,8 @@ void InstallAsWindowProperties(WrappedClass* wrapped, |
gin::Handle<WrappedClass> bindings = gin::CreateHandle(isolate, wrapped); |
if (bindings.IsEmpty()) |
return; |
- v8::Handle<v8::Object> global = context->Global(); |
- v8::Handle<v8::Value> v8_bindings = bindings.ToV8(); |
+ v8::Local<v8::Object> global = context->Global(); |
+ v8::Local<v8::Value> v8_bindings = bindings.ToV8(); |
for (size_t i = 0; i < names.size(); ++i) |
global->Set(gin::StringToV8(isolate, names[i].c_str()), v8_bindings); |
} |