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

Unified Diff: content/renderer/web_ui_mojo_context_state.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
« no previous file with comments | « content/renderer/web_ui_mojo_context_state.h ('k') | content/renderer/web_ui_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_ui_mojo_context_state.cc
diff --git a/content/renderer/web_ui_mojo_context_state.cc b/content/renderer/web_ui_mojo_context_state.cc
index ac13448cd3095141da985048a0724c7b6e930d58..cb75e907e51eb1909b4554d47751f20fdf11a41e 100644
--- a/content/renderer/web_ui_mojo_context_state.cc
+++ b/content/renderer/web_ui_mojo_context_state.cc
@@ -34,9 +34,9 @@ namespace {
const char kModulePrefix[] = "chrome://mojo/";
void RunMain(base::WeakPtr<gin::Runner> runner,
- v8::Handle<v8::Value> module) {
+ v8::Local<v8::Value> module) {
v8::Isolate* isolate = runner->GetContextHolder()->isolate();
- v8::Handle<v8::Function> start;
+ v8::Local<v8::Function> start;
CHECK(gin::ConvertFromV8(isolate, module, &start));
runner->Call(start, runner->global(), 0, NULL);
}
@@ -46,7 +46,7 @@ void RunMain(base::WeakPtr<gin::Runner> runner,
// WebUIMojo -------------------------------------------------------------------
WebUIMojoContextState::WebUIMojoContextState(blink::WebFrame* frame,
- v8::Handle<v8::Context> context)
+ v8::Local<v8::Context> context)
: frame_(frame),
module_added_(false) {
gin::PerContextData* context_data = gin::PerContextData::From(context);
« no previous file with comments | « content/renderer/web_ui_mojo_context_state.h ('k') | content/renderer/web_ui_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698