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

Unified Diff: Source/core/css/StyleSheetContents.cpp

Issue 1182933004: Split up inspector interfaces to CSSParser::parse(Sheet/DeclarationList) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/parser/CSSParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetContents.cpp
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
index 2e4a24d1cdd0b40c02ba79f926977dc9a8781c06..5a6e6f281cec86fd9b88108e690fbf1a1c6cf501 100644
--- a/Source/core/css/StyleSheetContents.cpp
+++ b/Source/core/css/StyleSheetContents.cpp
@@ -293,7 +293,7 @@ void StyleSheetContents::parseAuthorStyleSheet(const CSSStyleSheetResource* cach
}
CSSParserContext context(parserContext(), UseCounter::getFrom(this));
- CSSParser::parseSheet(context, this, sheetText, nullptr);
+ CSSParser::parseSheet(context, this, sheetText);
}
void StyleSheetContents::parseString(const String& sheetText)
@@ -304,7 +304,7 @@ void StyleSheetContents::parseString(const String& sheetText)
void StyleSheetContents::parseStringAtPosition(const String& sheetText, const TextPosition& startPosition)
{
CSSParserContext context(parserContext(), UseCounter::getFrom(this));
- CSSParser::parseSheet(context, this, sheetText, 0);
+ CSSParser::parseSheet(context, this, sheetText);
}
bool StyleSheetContents::isLoading() const
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/css/parser/CSSParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698