| Index: third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| index 0e90c6fc8ade495e43691bbd839fd7d124e2daa5..807058537d6a04d18bb3d6b83a7f9f64a5c22d0b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| @@ -121,7 +121,7 @@ WebInspector.DebuggerWorkspaceBinding.prototype = {
|
|
|
| /**
|
| * @param {!WebInspector.DebuggerModel.Location} rawLocation
|
| - * @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate
|
| + * @param {function(!WebInspector.LiveLocation)} updateDelegate
|
| * @return {!WebInspector.DebuggerWorkspaceBinding.Location}
|
| */
|
| createLiveLocation: function(rawLocation, updateDelegate)
|
| @@ -135,7 +135,7 @@ WebInspector.DebuggerWorkspaceBinding.prototype = {
|
|
|
| /**
|
| * @param {!WebInspector.DebuggerModel.CallFrame} callFrame
|
| - * @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate
|
| + * @param {function(!WebInspector.LiveLocation)} updateDelegate
|
| * @return {!WebInspector.DebuggerWorkspaceBinding.Location}
|
| */
|
| createCallFrameLiveLocation: function(callFrame, updateDelegate)
|
| @@ -469,7 +469,7 @@ WebInspector.DebuggerWorkspaceBinding.ScriptInfo.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.LiveLocation} location
|
| + * @param {!WebInspector.DebuggerWorkspaceBinding.Location} location
|
| */
|
| _addLocation: function(location)
|
| {
|
| @@ -478,7 +478,7 @@ WebInspector.DebuggerWorkspaceBinding.ScriptInfo.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.LiveLocation} location
|
| + * @param {!WebInspector.DebuggerWorkspaceBinding.Location} location
|
| */
|
| _removeLocation: function(location)
|
| {
|
| @@ -512,7 +512,7 @@ WebInspector.DebuggerWorkspaceBinding.ScriptInfo.prototype = {
|
| * @param {!WebInspector.Script} script
|
| * @param {!WebInspector.DebuggerModel.Location} rawLocation
|
| * @param {!WebInspector.DebuggerWorkspaceBinding} binding
|
| - * @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate
|
| + * @param {function(!WebInspector.LiveLocation)} updateDelegate
|
| */
|
| WebInspector.DebuggerWorkspaceBinding.Location = function(script, rawLocation, binding, updateDelegate)
|
| {
|
| @@ -527,10 +527,13 @@ WebInspector.DebuggerWorkspaceBinding.Location.prototype = {
|
| * @override
|
| * @return {!WebInspector.UILocation}
|
| */
|
| - uiLocation: function()
|
| + _updateUILocation: function()
|
| {
|
| var debuggerModelLocation = this._rawLocation;
|
| - return this._binding.rawLocationToUILocation(debuggerModelLocation);
|
| + var isBlackboxed = WebInspector.blackboxManager.isBlackboxedRawLocation(debuggerModelLocation);
|
| + var uiLocation = this._binding.rawLocationToUILocation(debuggerModelLocation);
|
| + uiLocation.setBlackboxed(isBlackboxed);
|
| + return uiLocation;
|
| },
|
|
|
| dispose: function()
|
|
|