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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
index 8751939299018e35c1135a7eff5f9af728764685..30741da390ce581c49bc7548cb68b49fe495a148 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js
@@ -24,7 +24,6 @@ WebInspector.BlackboxManager = function(debuggerWorkspaceBinding, networkMapping
}
WebInspector.BlackboxManager.prototype = {
-
/**
* @param {function(!WebInspector.Event)} listener
* @param {!Object=} thisObject
@@ -310,10 +309,12 @@ WebInspector.BlackboxManager.prototype = {
*/
function updateState(success)
{
- if (success)
+ if (success) {
this._scriptIdToPositions.set(script.scriptId, positions);
- else if (!this._scriptIdToPositions.has(script.scriptId))
+ this._debuggerWorkspaceBinding.updateLocations(script);
+ } else if (!this._scriptIdToPositions.has(script.scriptId)) {
this._scriptIdToPositions.set(script.scriptId, []);
+ }
}
},
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698