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

Unified Diff: sky/engine/core/script/dom_dart_state.h

Issue 1144233004: Sky: Convert TransferMode to an enum. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: review Created 5 years, 7 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: sky/engine/core/script/dom_dart_state.h
diff --git a/sky/engine/core/script/dom_dart_state.h b/sky/engine/core/script/dom_dart_state.h
index 11e7bebf1aba37e9af3a3ffb0577668ff94b2220..5f22b6feabbabfac40fbf042656254f6cb27cf91 100644
--- a/sky/engine/core/script/dom_dart_state.h
+++ b/sky/engine/core/script/dom_dart_state.h
@@ -34,6 +34,7 @@ class DOMDartState : public DartState {
// Cached handles to strings used in Dart/C++ conversions.
Dart_Handle x_handle() { return x_handle_.value(); }
Dart_Handle y_handle() { return y_handle_.value(); }
+ Dart_Handle index_handle() { return index_handle_.value(); }
Dart_Handle value_handle() { return value_handle_.value(); }
Dart_Handle color_class() { return color_class_.value(); }
@@ -43,6 +44,7 @@ class DOMDartState : public DartState {
DartPersistentValue x_handle_;
DartPersistentValue y_handle_;
+ DartPersistentValue index_handle_;
DartPersistentValue value_handle_;
DartPersistentValue color_class_;
};

Powered by Google App Engine
This is Rietveld 408576698