| 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, []);
|
| + }
|
| }
|
| },
|
|
|
|
|