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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js

Issue 2371133003: [Devtools] Lazily build reverse mappings (Closed)
Patch Set: Comments were addressed Created 4 years, 3 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/sources/JavaScriptBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
index c020981eb12fc8325641333040c703cff424eedc..9676f9360c0d2980463cb6edb445a0e50d10c416 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
@@ -97,7 +97,7 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
var snippetStartIndex = columnNumber > 100 ? columnNumber : 0;
snippetElement.textContent = lineText.substr(snippetStartIndex).trimEnd(maxSnippetLength);
}
- this.didReceiveBreakpointLineForTest(uiLocation.uiSourceCode);
+ this.didReceiveBreakpointLineForTest(uiLocation.uiSourceCode, lineNumber, columnNumber);
}
uiLocation.uiSourceCode.requestContent().then(didRequestContent.bind(this));
@@ -117,8 +117,10 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
/**
* @param {!WebInspector.UISourceCode} uiSourceCode
+ * @param {number} lineNumber
+ * @param {number} columnNumber
*/
- didReceiveBreakpointLineForTest: function(uiSourceCode)
+ didReceiveBreakpointLineForTest: function(uiSourceCode, lineNumber, columnNumber)
{
},

Powered by Google App Engine
This is Rietveld 408576698