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

Unified Diff: sdk/lib/core/print.dart

Issue 27112002: Make print interceptable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« sdk/lib/core/core.dart ('K') | « sdk/lib/core/core.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/print.dart
diff --git a/sdk/lib/core/print.dart b/sdk/lib/core/print.dart
index 17ef81707af8bf2a0ba8e923ccda447acbb4e0ff..a7ae11374bbf8444a691e882a8c8474b2b622e88 100644
--- a/sdk/lib/core/print.dart
+++ b/sdk/lib/core/print.dart
@@ -4,4 +4,6 @@
part of dart.core;
-external void print(Object object);
+void print(Object object) {
+ Zone.current.print(object.toString());
+}
« sdk/lib/core/core.dart ('K') | « sdk/lib/core/core.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698