Index: content/renderer/stats_collection_controller.cc |
diff --git a/content/renderer/stats_collection_controller.cc b/content/renderer/stats_collection_controller.cc |
index da615e0dde6938e6c6ab9ef5d11c11c320e99c8e..6f42a02721ce3f13f8a3245bfcba1e7bd029fb4f 100644 |
--- a/content/renderer/stats_collection_controller.cc |
+++ b/content/renderer/stats_collection_controller.cc |
@@ -80,7 +80,7 @@ gin::WrapperInfo StatsCollectionController::kWrapperInfo = { |
void StatsCollectionController::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; |
@@ -90,7 +90,7 @@ void StatsCollectionController::Install(blink::WebFrame* frame) { |
gin::CreateHandle(isolate, new StatsCollectionController()); |
if (controller.IsEmpty()) |
return; |
- v8::Handle<v8::Object> global = context->Global(); |
+ v8::Local<v8::Object> global = context->Global(); |
global->Set(gin::StringToV8(isolate, "statsCollectionController"), |
controller.ToV8()); |
} |