Index: third_party/WebKit/Source/devtools/front_end/sass/ASTService.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sass/ASTService.js b/third_party/WebKit/Source/devtools/front_end/sass/ASTService.js |
index cf2ca5c716332cb2b4c83911fef14be68b02caee..c780338050135ab967637209a341c6db53539a5e 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sass/ASTService.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sass/ASTService.js |
@@ -7,8 +7,6 @@ |
*/ |
WebInspector.ASTService = function() |
{ |
- this._sassInitPromise = self.runtime.instancePromise(WebInspector.TokenizerFactory); |
- this._terminated = false; |
} |
WebInspector.ASTService.prototype = { |
@@ -19,7 +17,6 @@ WebInspector.ASTService.prototype = { |
*/ |
parseCSS: function(url, text) |
{ |
- console.assert(!this._terminated, "Illegal call parseCSS on terminated ASTService."); |
return WebInspector.SASSSupport.parseCSS(url, text); |
}, |
@@ -30,7 +27,6 @@ WebInspector.ASTService.prototype = { |
*/ |
parseSCSS: function(url, text) |
{ |
- console.assert(!this._terminated, "Illegal call parseSCSS on terminated ASTService."); |
- return this._sassInitPromise.then(tokenizer => WebInspector.SASSSupport.parseSCSS(tokenizer, url, text)); |
+ return WebInspector.SASSSupport.parseSCSS(url, text); |
}, |
} |