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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2623143002: DevTools: insert console message decorations in order
Patch Set: address design comments Created 3 years, 11 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: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
index 87c0470fd53622c3f91b73d47378b209e67cb58a..9130f1dbc90af18be8aac912f884954ca909648f 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
@@ -334,6 +334,9 @@ Console.ConsoleView = class extends UI.VBox {
this._prompt.clearAutocomplete();
if (!this._showAllMessagesCheckbox.checked())
this._updateMessageList();
+ this._consoleMessages.map(message => {
allada 2017/01/19 02:38:08 Don't use map, use .forEach()
allada 2017/01/19 02:38:08 nit: Remove curlies and put on same line.
luoe 2017/01/19 23:22:59 Done.
luoe 2017/01/19 23:22:59 Done.
+ message.updateContextLabel();
+ });
}
/**

Powered by Google App Engine
This is Rietveld 408576698