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

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

Issue 1163323003: sky/engine updates for iOS targets (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/engine/config.h » ('j') | sky/engine/platform/fonts/ios/FontPlatformDataIOS.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings/builtin_natives.cc
diff --git a/sky/engine/bindings/builtin_natives.cc b/sky/engine/bindings/builtin_natives.cc
index f826ca828d07c9cd8298d52a31d5819d3021612f..0afdaccbfee2dc6c2fb3a9e502ed2b88c039d689 100644
--- a/sky/engine/bindings/builtin_natives.cc
+++ b/sky/engine/bindings/builtin_natives.cc
@@ -163,7 +163,7 @@ void Logger_PrintString(Dart_NativeArguments args) {
String message(chars, length);
// TODO(dart): Hook up to developer console (if/when that's a thing).
-#if OS(ANDROID)
+#if OS(ANDROID) || OS(IOS)
LOG(INFO) << "CONSOLE: " << message.utf8().data();
#else
printf("CONSOLE: %s\n", message.utf8().data());
« no previous file with comments | « no previous file | sky/engine/config.h » ('j') | sky/engine/platform/fonts/ios/FontPlatformDataIOS.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698