Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1427)

Unified Diff: content/shell/renderer/layout_test/gc_controller.cc

Issue 1113783002: Use Local instead of Handle in src/content/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/layout_test/gc_controller.cc
diff --git a/content/shell/renderer/layout_test/gc_controller.cc b/content/shell/renderer/layout_test/gc_controller.cc
index 2bd45a878db370a93f30d836942761e67ae10d86..9741e2b3a2fac60367b94488579b2a6aa850c44a 100644
--- a/content/shell/renderer/layout_test/gc_controller.cc
+++ b/content/shell/renderer/layout_test/gc_controller.cc
@@ -19,7 +19,7 @@ gin::WrapperInfo GCController::kWrapperInfo = {gin::kEmbedderNativeGin};
void GCController::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;
@@ -29,7 +29,7 @@ void GCController::Install(blink::WebFrame* frame) {
gin::CreateHandle(isolate, new GCController());
if (controller.IsEmpty())
return;
- v8::Handle<v8::Object> global = context->Global();
+ v8::Local<v8::Object> global = context->Global();
global->Set(gin::StringToV8(isolate, "GCController"), controller.ToV8());
}
« no previous file with comments | « content/shell/renderer/binding_helpers.h ('k') | content/shell/renderer/test_runner/accessibility_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698