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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js

Issue 2563553002: DevTools: Disallow console.log statements with eslint (Closed)
Patch Set: fix tests Created 4 years 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: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js
index 6595c34a484680f34fe1b11a52d46ba9eba8fcfc..3f15899cd9fdbd58a53623a2671563d2ffb6925c 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js
@@ -81,7 +81,7 @@ TimelineModel.TimelineProfileTree.buildTopDown = function(events, filters, start
}
parent.selfTime -= time;
if (parent.selfTime < 0) {
- console.log('Error: Negative self of ' + parent.selfTime, e);
+ console.error('Error: Negative self of ' + parent.selfTime, e);
parent.selfTime = 0;
}
if (e.endTime)

Powered by Google App Engine
This is Rietveld 408576698