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

Unified Diff: gin/dictionary.cc

Issue 79203004: [Gin] Add a mechanism for wrapping C++ object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disallow copy and assign Created 7 years, 1 month 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/array_buffer.cc ('k') | gin/gin.gyp » ('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 0da85af79347dd1c3f08e11c5b30549ddedc5d1e..ca6227efc236c030ff4210f5f5cd4dab901ba9cb 100644
--- a/gin/dictionary.cc
+++ b/gin/dictionary.cc
@@ -30,7 +30,8 @@ v8::Handle<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate,
return val.object_;
}
-bool FromV8(v8::Handle<v8::Value> val, Dictionary* out) {
+bool Converter<Dictionary>::FromV8(v8::Handle<v8::Value> val,
+ Dictionary* out) {
if (!val->IsObject())
return false;
*out = Dictionary(out->isolate(), v8::Handle<v8::Object>::Cast(val));
« no previous file with comments | « gin/array_buffer.cc ('k') | gin/gin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698