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

Unified Diff: third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
index edfffe96f7615d0a1acee5d51e9c51a96d7f2993..5020505cec17a23cb7a84b0ce2910211f56f4368 100644
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp
@@ -234,7 +234,7 @@ static String ParseCSSStringOrURL(const String& string) {
}
void CSSPreloadScanner::EmitRule(const SegmentedString& source) {
- if (EqualIgnoringCase(rule_, "import")) {
+ if (DeprecatedEqualIgnoringCase(rule_, "import")) {
String url = ParseCSSStringOrURL(rule_value_.ToString());
TextPosition position =
TextPosition(source.CurrentLine(), source.CurrentColumn());
@@ -247,7 +247,7 @@ void CSSPreloadScanner::EmitRule(const SegmentedString& source) {
requests_->push_back(std::move(request));
}
state_ = kInitial;
- } else if (EqualIgnoringCase(rule_, "charset"))
+ } else if (DeprecatedEqualIgnoringCase(rule_, "charset"))
state_ = kInitial;
else
state_ = kDoneParsingImportRules;

Powered by Google App Engine
This is Rietveld 408576698