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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sass/sass-test.js

Issue 1941283002: DevTools: [SASS] start parsing CSS with SCSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1-scss
Patch Set: rebaseline Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sass/test-ast-css-3-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/sass/sass-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/sass/sass-test.js b/third_party/WebKit/LayoutTests/inspector/sass/sass-test.js
index 952efae980d6139557fa8fde39a11190c3cefb1e..d14a227e977aae6e789bcee9b61632fad27f33bb 100644
--- a/third_party/WebKit/LayoutTests/inspector/sass/sass-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/sass/sass-test.js
@@ -2,15 +2,6 @@ var initialize_SassTest = function() {
InspectorTest.preloadModule("sass");
-var cssParserService = null;
-
-InspectorTest.cssParserService = function()
-{
- if (!cssParserService)
- cssParserService = new WebInspector.CSSParserService();
- return cssParserService;
-}
-
var sassSourceMapFactory = null;
InspectorTest.sassSourceMapFactory = function()
{
@@ -19,15 +10,11 @@ InspectorTest.sassSourceMapFactory = function()
return sassSourceMapFactory;
}
-InspectorTest.parseCSS = function(url, text)
-{
- return WebInspector.SASSSupport.parseCSS(url, text);
-}
-
InspectorTest.parseSCSS = function(url, text)
{
return WebInspector.SASSSupport.parseSCSS(url, text);
}
+InspectorTest.parseCSS = InspectorTest.parseSCSS;
InspectorTest.loadASTMapping = function(header, callback)
{
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sass/test-ast-css-3-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698