Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js

Issue 2300523002: DevTools: cleanup WI.CSSWorkspaceBindings (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
index 94173dc0c70e610753fc43c186f3bab2746c74ca..f1ab55a809c9beea72d66841fef1d96c6e76016d 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
@@ -30,7 +30,6 @@
/**
* @constructor
- * @implements {WebInspector.CSSSourceMapping}
* @param {!WebInspector.CSSModel} cssModel
* @param {!WebInspector.NetworkMapping} networkMapping
* @param {!WebInspector.NetworkProject} networkProject
@@ -104,7 +103,7 @@ WebInspector.SASSSourceMapping.prototype = {
{
if (!header.sourceMapURL)
return;
- WebInspector.cssWorkspaceBinding.pushSourceMapping(header, this);
+ WebInspector.cssWorkspaceBinding.updateLocations(header);
},
/**
@@ -118,7 +117,6 @@ WebInspector.SASSSourceMapping.prototype = {
},
/**
- * @override
* @param {!WebInspector.CSSLocation} rawLocation
* @return {?WebInspector.UILocation}
*/
@@ -135,44 +133,4 @@ WebInspector.SASSSourceMapping.prototype = {
return null;
return uiSourceCode.uiLocation(entry.sourceLineNumber || 0, entry.sourceColumnNumber);
},
-
- /**
- * @override
- * @param {!WebInspector.UISourceCode} uiSourceCode
- * @param {number} lineNumber
- * @param {number} columnNumber
- * @return {?WebInspector.CSSLocation}
- */
- uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber)
- {
- return null;
- },
-
- /**
- * @override
- * @return {boolean}
- */
- isIdentity: function()
- {
- return false;
- },
-
- /**
- * @override
- * @param {!WebInspector.UISourceCode} uiSourceCode
- * @param {number} lineNumber
- * @return {boolean}
- */
- uiLineHasMapping: function(uiSourceCode, lineNumber)
- {
- return true;
- },
-
- /**
- * @return {!WebInspector.Target}
- */
- target: function()
- {
- return this._cssModel.target();
- }
}

Powered by Google App Engine
This is Rietveld 408576698