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

Unified Diff: sky/engine/tonic/dart_value.h

Issue 942993002: Add support for |any| to Sky's code generator (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/tonic/dart_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_value.h
diff --git a/sky/engine/tonic/dart_value.h b/sky/engine/tonic/dart_value.h
index 57332e451b1f0ff110b430f82e114b3738b53773..2eac3a8e6e7254cc4ced90f974604e5d74c87d25 100644
--- a/sky/engine/tonic/dart_value.h
+++ b/sky/engine/tonic/dart_value.h
@@ -30,6 +30,10 @@ class DartValue : public RefCounted<DartValue> {
~DartValue();
Dart_Handle dart_value() const { return dart_value_.value(); }
+ const base::WeakPtr<DartState>& dart_state() const {
+ return dart_value_.dart_state();
+ }
+
bool is_empty() const { return !dart_value(); }
bool is_null() const {
« no previous file with comments | « sky/engine/tonic/dart_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698