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

Unified Diff: gin/dictionary.cc

Issue 1112923003: Replace Handle<> with Local in remaining gin/* (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 | « gin/dictionary.h ('k') | gin/function_template.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/dictionary.cc
diff --git a/gin/dictionary.cc b/gin/dictionary.cc
index d3361228bb21a9e61f03c1f858f1dc45c3d590bf..018a82c66f39878381f5dd59cd2797875c3bcec1 100644
--- a/gin/dictionary.cc
+++ b/gin/dictionary.cc
@@ -11,7 +11,7 @@ Dictionary::Dictionary(v8::Isolate* isolate)
}
Dictionary::Dictionary(v8::Isolate* isolate,
- v8::Handle<v8::Object> object)
+ v8::Local<v8::Object> object)
: isolate_(isolate),
object_(object) {
}
@@ -25,17 +25,17 @@ Dictionary Dictionary::CreateEmpty(v8::Isolate* isolate) {
return dictionary;
}
-v8::Handle<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate,
+v8::Local<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate,
Dictionary val) {
return val.object_;
}
bool Converter<Dictionary>::FromV8(v8::Isolate* isolate,
- v8::Handle<v8::Value> val,
+ v8::Local<v8::Value> val,
Dictionary* out) {
if (!val->IsObject())
return false;
- *out = Dictionary(isolate, v8::Handle<v8::Object>::Cast(val));
+ *out = Dictionary(isolate, v8::Local<v8::Object>::Cast(val));
return true;
}
« no previous file with comments | « gin/dictionary.h ('k') | gin/function_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698