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

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

Issue 1688283002: [DevTools] Blackboxing in LiveLocations is supported in Linkifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-source-map-support-v3
Patch Set: Created 4 years, 10 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 4e665e068d4991cf3833ec62334061c83ca05c00..53446c5b79a06f26c03d2359aaeec95fe3b458e7 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
@@ -919,10 +919,13 @@ WebInspector.BreakpointManager.TargetBreakpoint.prototype = {
/**
* @param {!WebInspector.DebuggerModel.Location} location
- * @param {!WebInspector.UILocation} uiLocation
+ * @param {!WebInspector.LiveLocation} liveLocation
*/
- _locationUpdated: function(location, uiLocation)
+ _locationUpdated: function(location, liveLocation)
{
+ var uiLocation = liveLocation.uiLocation();
+ if (!uiLocation)
+ return;
var oldUILocation = this._uiLocations[location.id()] || null;
this._uiLocations[location.id()] = uiLocation;
this._breakpoint._replaceUILocation(oldUILocation, uiLocation);

Powered by Google App Engine
This is Rietveld 408576698