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

Unified Diff: sky/engine/bindings/scheduled_action.cc

Issue 941153003: Add dart_invoke to tonic for calls into App code. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments 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/bindings/dart_event_listener.cc ('k') | sky/engine/core/dom/custom/custom_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/scheduled_action.cc
diff --git a/sky/engine/bindings/scheduled_action.cc b/sky/engine/bindings/scheduled_action.cc
index b03286965ab10dc8e9d321df9dff34cb856c8ffb..6d96466bfcd54d94bb630f897909fe2f15b212d8 100644
--- a/sky/engine/bindings/scheduled_action.cc
+++ b/sky/engine/bindings/scheduled_action.cc
@@ -7,6 +7,7 @@
#include "sky/engine/tonic/dart_api_scope.h"
#include "sky/engine/tonic/dart_error.h"
+#include "sky/engine/tonic/dart_invoke.h"
#include "sky/engine/tonic/dart_isolate_scope.h"
namespace blink {
@@ -24,7 +25,7 @@ void ScheduledAction::Execute(ExecutionContext*) {
return;
DartIsolateScope scope(closure_.dart_state()->isolate());
DartApiScope api_scope;
- LogIfError(Dart_InvokeClosure(closure_.value(), 0, nullptr));
+ DartInvokeAppClosure(closure_.value(), 0, nullptr);
}
} // namespace blink
« no previous file with comments | « sky/engine/bindings/dart_event_listener.cc ('k') | sky/engine/core/dom/custom/custom_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698