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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.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/sources/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index b99dda493a43e133788a2227bf0b1eedfd7d9a44..61372b6fdafa071880eb015780194aeefd3a403a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -242,11 +242,12 @@ WebInspector.SourcesPanel.prototype = {
}
/**
- * @param {!WebInspector.UILocation} uiLocation
+ * @param {!WebInspector.LiveLocation} liveLocation
* @this {WebInspector.SourcesPanel}
*/
- function didGetUILocation(uiLocation)
+ function didGetUILocation(liveLocation)
{
+ var uiLocation = liveLocation.uiLocation;
var breakpoint = WebInspector.breakpointManager.findBreakpointOnLine(uiLocation.uiSourceCode, uiLocation.lineNumber);
if (!breakpoint)
return;
@@ -388,10 +389,11 @@ WebInspector.SourcesPanel.prototype = {
},
/**
- * @param {!WebInspector.UILocation} uiLocation
+ * @param {!WebInspector.LiveLocation} liveLocation
*/
- _executionLineChanged: function(uiLocation)
+ _executionLineChanged: function(liveLocation)
{
+ var uiLocation = /** @type {!WebInspector.UILocation} */(liveLocation.uiLocation);
this._sourcesView.clearCurrentExecutionLine();
this._sourcesView.setExecutionLocation(uiLocation);
if (window.performance.now() - this._lastModificationTime < WebInspector.SourcesPanel._lastModificationTimeout)

Powered by Google App Engine
This is Rietveld 408576698