Chromium Code Reviews| 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..be2e646b1b1acb494cc7ec1a53e923a5fceb2fa8 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,9 +309,10 @@ 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)) |
|
dgozman
2016/02/18 02:17:53
nit: {} for both branches please
kozy
2016/02/18 02:36:25
Done.
|
| this._scriptIdToPositions.set(script.scriptId, []); |
| } |
| }, |