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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 553081ddc127973c27351933c1216a78a76ca873..a7a8ac7460b3a2e065a75f4ac6f43be02c435b6e 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -191,18 +191,18 @@ class UseCounterObserverImpl final : public UseCounter::Observer {
static WTF::Optional<DocumentMarker::MarkerType> MarkerTypeFrom(
const String& marker_type) {
- if (EqualIgnoringCase(marker_type, "Spelling"))
+ if (DeprecatedEqualIgnoringCase(marker_type, "Spelling"))
return DocumentMarker::kSpelling;
- if (EqualIgnoringCase(marker_type, "Grammar"))
+ if (DeprecatedEqualIgnoringCase(marker_type, "Grammar"))
return DocumentMarker::kGrammar;
- if (EqualIgnoringCase(marker_type, "TextMatch"))
+ if (DeprecatedEqualIgnoringCase(marker_type, "TextMatch"))
return DocumentMarker::kTextMatch;
return WTF::kNullopt;
}
static WTF::Optional<DocumentMarker::MarkerTypes> MarkerTypesFrom(
const String& marker_type) {
- if (marker_type.IsEmpty() || EqualIgnoringCase(marker_type, "all"))
+ if (marker_type.IsEmpty() || DeprecatedEqualIgnoringCase(marker_type, "all"))
return DocumentMarker::AllMarkers();
WTF::Optional<DocumentMarker::MarkerType> type = MarkerTypeFrom(marker_type);
if (!type)
« no previous file with comments | « third_party/WebKit/Source/core/testing/InternalSettings.cpp ('k') | third_party/WebKit/Source/core/xml/XPathFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698