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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.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/HTMLConstructionSite.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
index 5866b140a8e521b08b80b7d69093f9af7af626f0..728aae8f7fc6a1a0426ed226a4ebe4adb4c40021 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
@@ -572,14 +572,16 @@ void HTMLConstructionSite::SetCompatibilityModeFromDoctype(
kTextCaseASCIIInsensitive) ||
public_id.StartsWith("-//W3O//DTD W3 HTML 3.0//",
kTextCaseASCIIInsensitive) ||
- EqualIgnoringCase(public_id, "-//W3O//DTD W3 HTML Strict 3.0//EN//") ||
+ DeprecatedEqualIgnoringCase(public_id,
+ "-//W3O//DTD W3 HTML Strict 3.0//EN//") ||
public_id.StartsWith("-//WebTechs//DTD Mozilla HTML 2.0//",
kTextCaseASCIIInsensitive) ||
public_id.StartsWith("-//WebTechs//DTD Mozilla HTML//",
kTextCaseASCIIInsensitive) ||
- EqualIgnoringCase(public_id, "-/W3C/DTD HTML 4.0 Transitional/EN") ||
- EqualIgnoringCase(public_id, "HTML") ||
- EqualIgnoringCase(
+ DeprecatedEqualIgnoringCase(public_id,
+ "-/W3C/DTD HTML 4.0 Transitional/EN") ||
+ DeprecatedEqualIgnoringCase(public_id, "HTML") ||
+ DeprecatedEqualIgnoringCase(
system_id,
"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd") ||
(system_id.IsEmpty() &&

Powered by Google App Engine
This is Rietveld 408576698