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

Unified Diff: extensions/renderer/module_system_test.cc

Issue 1115563002: extensions/renderer: Use v8::Local instead of v8::Handle. (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 | « extensions/renderer/module_system_test.h ('k') | extensions/renderer/module_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/module_system_test.cc
diff --git a/extensions/renderer/module_system_test.cc b/extensions/renderer/module_system_test.cc
index cc4cbfbaed05f09498bc5a19712092275252a215..04de2b1a45ec5219b7ef52207365aa31b4b64750 100644
--- a/extensions/renderer/module_system_test.cc
+++ b/extensions/renderer/module_system_test.cc
@@ -101,8 +101,8 @@ class ModuleSystemTestEnvironment::StringSourceMap
StringSourceMap() {}
~StringSourceMap() override {}
- v8::Handle<v8::Value> GetSource(v8::Isolate* isolate,
- const std::string& name) override {
+ v8::Local<v8::Value> GetSource(v8::Isolate* isolate,
+ const std::string& name) override {
if (source_map_.count(name) == 0)
return v8::Undefined(isolate);
return v8::String::NewFromUtf8(isolate, source_map_[name].c_str());
@@ -201,7 +201,7 @@ void ModuleSystemTestEnvironment::ShutdownModuleSystem() {
context_->Invalidate();
}
-v8::Handle<v8::Object> ModuleSystemTestEnvironment::CreateGlobal(
+v8::Local<v8::Object> ModuleSystemTestEnvironment::CreateGlobal(
const std::string& name) {
v8::EscapableHandleScope handle_scope(isolate_);
v8::Local<v8::Object> object = v8::Object::New(isolate_);
« no previous file with comments | « extensions/renderer/module_system_test.h ('k') | extensions/renderer/module_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698