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() && |