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 825ea48363d4b5ff7270f7ad17a0b8efcd42d9c7..21b068b6ffb2a1f5bd2ec0a4727e783b6f850d43 100644 |
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
@@ -47,6 +47,7 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
, m_isLinkNext(false) |
, m_isImport(false) |
, m_isManifest(false) |
+ , m_isServiceWorker(false) |
{ |
if (rel.isEmpty()) |
return; |
@@ -88,6 +89,8 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
m_iconType = TouchPrecomposedIcon; |
} else if (equalIgnoringCase(linkType, "manifest")) { |
m_isManifest = true; |
+ } else if (equalIgnoringCase(linkType, "serviceworker")) { |
+ m_isServiceWorker = true; |
} |
// Adding or removing a value here requires you to update RelList::supportedTokens() |
} |