Index: third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
diff --git a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
index 8e29187ea6eec847905387805b4ee732aa1aa519..1c48426460aebea80b55ef8143b0ab4b7b9831e8 100644 |
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
@@ -53,40 +53,41 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
Vector<String> list; |
rel_copy.Split(' ', list); |
for (const String& link_type : list) { |
- if (EqualIgnoringCase(link_type, "stylesheet")) { |
+ if (DeprecatedEqualIgnoringCase(link_type, "stylesheet")) { |
if (!is_import_) |
is_style_sheet_ = true; |
- } else if (EqualIgnoringCase(link_type, "import")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "import")) { |
if (!is_style_sheet_) |
is_import_ = true; |
- } else if (EqualIgnoringCase(link_type, "alternate")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "alternate")) { |
is_alternate_ = true; |
- } else if (EqualIgnoringCase(link_type, "icon")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "icon")) { |
// This also allows "shortcut icon" since we just ignore the non-standard |
// "shortcut" token. |
// FIXME: This doesn't really follow the spec that requires "shortcut |
// icon" to be the entire string |
// http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon |
icon_type_ = kFavicon; |
- } else if (EqualIgnoringCase(link_type, "prefetch")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "prefetch")) { |
is_link_prefetch_ = true; |
- } else if (EqualIgnoringCase(link_type, "dns-prefetch")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "dns-prefetch")) { |
is_dns_prefetch_ = true; |
- } else if (EqualIgnoringCase(link_type, "preconnect")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "preconnect")) { |
is_preconnect_ = true; |
- } else if (EqualIgnoringCase(link_type, "preload")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "preload")) { |
is_link_preload_ = true; |
- } else if (EqualIgnoringCase(link_type, "prerender")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "prerender")) { |
is_link_prerender_ = true; |
- } else if (EqualIgnoringCase(link_type, "next")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "next")) { |
is_link_next_ = true; |
- } else if (EqualIgnoringCase(link_type, "apple-touch-icon")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "apple-touch-icon")) { |
icon_type_ = kTouchIcon; |
- } else if (EqualIgnoringCase(link_type, "apple-touch-icon-precomposed")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, |
+ "apple-touch-icon-precomposed")) { |
icon_type_ = kTouchPrecomposedIcon; |
- } else if (EqualIgnoringCase(link_type, "manifest")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "manifest")) { |
is_manifest_ = true; |
- } else if (EqualIgnoringCase(link_type, "serviceworker")) { |
+ } else if (DeprecatedEqualIgnoringCase(link_type, "serviceworker")) { |
is_service_worker_ = true; |
} |
// Adding or removing a value here requires you to update |