| 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 f151676f328359d5fdff91e0aabecca6e1489f87..0e90c6fc8ade495e43691bbd839fd7d124e2daa5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| @@ -231,6 +231,18 @@ WebInspector.DebuggerWorkspaceBinding.prototype = {
|
| },
|
|
|
| /**
|
| + * @param {!WebInspector.Script} script
|
| + * @return {?WebInspector.SourceMap}
|
| + */
|
| + sourceMapForScript: function(script)
|
| + {
|
| + var targetData = this._targetToData.get(script.target());
|
| + if (!targetData)
|
| + return null;
|
| + return targetData._compilerMapping.sourceMapForScript(script);
|
| + },
|
| +
|
| + /**
|
| * @param {!WebInspector.Event} event
|
| */
|
| _globalObjectCleared: function(event)
|
|
|