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

Unified Diff: Source/devtools/front_end/SourceFrame.js

Issue 211023002: DevTools: Remove event Console.messageRepeatCountUpdated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix inspector-protocol/console/console-timestamp.html Created 6 years, 9 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 | « Source/devtools/front_end/ScriptSnippetModel.js ('k') | Source/devtools/front_end/Tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourceFrame.js
diff --git a/Source/devtools/front_end/SourceFrame.js b/Source/devtools/front_end/SourceFrame.js
index fd5a2bc2cd10fd589e099a11e3035b5fce247b84..62a91cf0a38847412bec03452cd05e0ad7afb04d 100644
--- a/Source/devtools/front_end/SourceFrame.js
+++ b/Source/devtools/front_end/SourceFrame.js
@@ -606,7 +606,7 @@ WebInspector.SourceFrame.prototype = {
for (var i = 0; i < rowMessages.length; ++i) {
if (rowMessages[i].consoleMessage.isEqual(msg)) {
- rowMessages[i].repeatCount = msg.totalRepeatCount;
+ rowMessages[i].repeatCount++;
this._updateMessageRepeatCount(rowMessages[i]);
return;
}
@@ -645,7 +645,7 @@ WebInspector.SourceFrame.prototype = {
messageLineElement.appendChild(document.createTextNode(msg.messageText));
rowMessage.element = messageLineElement;
- rowMessage.repeatCount = msg.totalRepeatCount;
+ rowMessage.repeatCount = 1;
this._updateMessageRepeatCount(rowMessage);
this._textEditor.endUpdates();
},
« no previous file with comments | « Source/devtools/front_end/ScriptSnippetModel.js ('k') | Source/devtools/front_end/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698