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

Unified Diff: third_party/WebKit/Source/core/html/LinkRelAttribute.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 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/LinkRelAttribute.cpp
diff --git a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
index ada8f053286239478ab1a3c02301e385a8bb6772..060a174cc02e6eb45d0ed7015426a758962f53e5 100644
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
@@ -62,9 +62,11 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
} else if (equalIgnoringCase(linkType, "alternate")) {
m_isAlternate = true;
} else if (equalIgnoringCase(linkType, "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
+ // 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
m_iconType = Favicon;
} else if (equalIgnoringCase(linkType, "prefetch")) {
m_isLinkPrefetch = true;
@@ -87,7 +89,8 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
} else if (equalIgnoringCase(linkType, "serviceworker")) {
m_isServiceWorker = true;
}
- // Adding or removing a value here requires you to update RelList::supportedTokens()
+ // Adding or removing a value here requires you to update
+ // RelList::supportedTokens()
}
}
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | third_party/WebKit/Source/core/html/MediaDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698