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

Unified Diff: sky/engine/core/script/dart_controller.cc

Issue 1028243003: Let Dart code running in Sky add events to the trace timeline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more Created 5 years, 9 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/core/frame/Window.idl ('k') | sky/examples/stocks-fn/lib/stock_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dart_controller.cc
diff --git a/sky/engine/core/script/dart_controller.cc b/sky/engine/core/script/dart_controller.cc
index 270ed4e0eda99bdeeb90012cb08dddf03977b431..3fa1fbb45a7f47daf20112fc844e26faaedb3c9a 100644
--- a/sky/engine/core/script/dart_controller.cc
+++ b/sky/engine/core/script/dart_controller.cc
@@ -212,6 +212,8 @@ static Dart_Isolate IsolateCreateCallback(const char* script_uri,
}
static void CallHandleMessage(base::WeakPtr<DartState> dart_state) {
+ TRACE_EVENT0("sky", "CallHandleMessage");
+
if (!dart_state)
return;
« no previous file with comments | « sky/engine/core/frame/Window.idl ('k') | sky/examples/stocks-fn/lib/stock_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698