| Index: Source/devtools/front_end/bindings/SASSSourceMapping.js
|
| diff --git a/Source/devtools/front_end/sdk/SASSSourceMapping.js b/Source/devtools/front_end/bindings/SASSSourceMapping.js
|
| similarity index 98%
|
| rename from Source/devtools/front_end/sdk/SASSSourceMapping.js
|
| rename to Source/devtools/front_end/bindings/SASSSourceMapping.js
|
| index 61a5e567351597e71a0760471fa2f6ea9a8b9ab9..592d3e07b4041e0c718dca4fe96d7d86af369024 100644
|
| --- a/Source/devtools/front_end/sdk/SASSSourceMapping.js
|
| +++ b/Source/devtools/front_end/bindings/SASSSourceMapping.js
|
| @@ -30,7 +30,7 @@
|
|
|
| /**
|
| * @constructor
|
| - * @implements {WebInspector.SourceMapping}
|
| + * @implements {WebInspector.CSSSourceMapping}
|
| * @param {!WebInspector.CSSStyleModel} cssModel
|
| * @param {!WebInspector.Workspace} workspace
|
| * @param {!WebInspector.NetworkWorkspaceBinding} networkWorkspaceBinding
|
| @@ -533,17 +533,16 @@ WebInspector.SASSSourceMapping.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!WebInspector.RawLocation} rawLocation
|
| + * @param {!WebInspector.CSSLocation} rawLocation
|
| * @return {?WebInspector.UILocation}
|
| */
|
| rawLocationToUILocation: function(rawLocation)
|
| {
|
| - var location = /** @type WebInspector.CSSLocation */ (rawLocation);
|
| var entry;
|
| - var sourceMap = this._sourceMapByStyleSheetURL[location.url];
|
| + var sourceMap = this._sourceMapByStyleSheetURL[rawLocation.url];
|
| if (!sourceMap)
|
| return null;
|
| - entry = sourceMap.findEntry(location.lineNumber, location.columnNumber);
|
| + entry = sourceMap.findEntry(rawLocation.lineNumber, rawLocation.columnNumber);
|
| if (!entry || entry.length === 2)
|
| return null;
|
| var uiSourceCode = this._workspace.uiSourceCodeForURL(entry[2]);
|
| @@ -556,7 +555,7 @@ WebInspector.SASSSourceMapping.prototype = {
|
| * @param {!WebInspector.UISourceCode} uiSourceCode
|
| * @param {number} lineNumber
|
| * @param {number} columnNumber
|
| - * @return {!WebInspector.RawLocation}
|
| + * @return {!WebInspector.CSSLocation}
|
| */
|
| uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber)
|
| {
|
|
|