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

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: 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
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..e6fe5fb2fb3a5f76268d081878b964b59d91d04e 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 += 1;
pfeldman 2014/03/25 13:09:32 ++
sergeyv 2014/03/25 13:42:56 Done.
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();
},

Powered by Google App Engine
This is Rietveld 408576698