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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 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/bindings/BreakpointManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js b/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
index 7477b7433ad3d4f1abfb8fad7907988bc1694e18..4e665e068d4991cf3833ec62334061c83ca05c00 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
@@ -86,7 +86,7 @@ WebInspector.BreakpointManager.prototype = {
var networkURL = this._networkMapping.networkURL(uiSourceCode)
if (!networkURL)
return "";
- return uiSourceCode.uri();
+ return uiSourceCode.url();
},
/**
@@ -243,7 +243,7 @@ WebInspector.BreakpointManager.prototype = {
return breakpoint;
}
var projectId = uiSourceCode.project().id();
- var path = uiSourceCode.path();
+ var path = uiSourceCode.url();
var sourceFileId = this._sourceFileId(uiSourceCode);
breakpoint = new WebInspector.BreakpointManager.Breakpoint(this, projectId, path, sourceFileId, lineNumber, columnNumber, condition, enabled);
if (!this._breakpointsForPrimaryUISourceCode.get(uiSourceCode))

Powered by Google App Engine
This is Rietveld 408576698