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

Unified Diff: tools/dom/templates/html/dart2js/impl_Console.darttemplate

Issue 14630016: Getting html_dart2js and html_dartium a bit more in sync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
Index: tools/dom/templates/html/dart2js/impl_Console.darttemplate
diff --git a/tools/dom/templates/html/dart2js/impl_Console.darttemplate b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
index 25d08e109832ec4e1113e83bcdc1a82c1541d7fb..84527d2bc69146524b3b9a559b719fd5acfffd6c 100644
--- a/tools/dom/templates/html/dart2js/impl_Console.darttemplate
+++ b/tools/dom/templates/html/dart2js/impl_Console.darttemplate
@@ -6,7 +6,7 @@ part of $LIBRARYNAME;
$(ANNOTATIONS)class Console {
- static Console safeConsole = new Console();
+ static Console _safeConsole = new Console();
bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"');
@@ -79,8 +79,8 @@ $(ANNOTATIONS)class Console {
JS('void', 'console.time(#)', title) : null;
@DomName('Console.timeEnd')
- void timeEnd(String timerName) => _isConsoleDefined ?
- JS('void', 'console.timeEnd(#)', timerName) : null;
+ void timeEnd(String title) => _isConsoleDefined ?
+ JS('void', 'console.timeEnd(#)', title) : null;
@DomName('Console.timeStamp')
void timeStamp(Object arg) => _isConsoleDefined ?

Powered by Google App Engine
This is Rietveld 408576698