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

Unified Diff: sky/engine/bindings/scripts/templates/interface_cpp.template

Issue 956753002: Make splash animations abort on scroll. (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 | « no previous file | sky/framework/material-element.sky » ('j') | sky/framework/material-element.sky » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/scripts/templates/interface_cpp.template
diff --git a/sky/engine/bindings/scripts/templates/interface_cpp.template b/sky/engine/bindings/scripts/templates/interface_cpp.template
index 8d0834d4410b15fef07b9c3f7d6e1be825b9b823..839ae2716bac7c3fdabb5022a8ccdd2ed86d2730 100644
--- a/sky/engine/bindings/scripts/templates/interface_cpp.template
+++ b/sky/engine/bindings/scripts/templates/interface_cpp.template
@@ -49,7 +49,7 @@ static void namedPropertySetter(Dart_NativeArguments args)
String name = DartConverter<String>::FromArguments(args, 1, exception);
if (exception)
goto fail;
- String value = DartConverter<String>::FromArguments(args, 2, exception);
+ String value = DartConverter<String>::FromArgumentsWithNullCheck(args, 2, exception);
if (exception)
goto fail;
{{named_property_setter.cpp_value}};
« no previous file with comments | « no previous file | sky/framework/material-element.sky » ('j') | sky/framework/material-element.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698