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

Unified Diff: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. 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/dom/PresentationAttributeStyle.cpp
diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
index cf1e3b6786a97cbe4508a975473d568afc942cb2..265a0961fa64432bd4ff2f535c3fa28bd8bd10a3 100644
--- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
+++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
@@ -118,7 +118,8 @@ class PresentationAttributeCacheCleaner {
static bool attributeNameSort(const std::pair<StringImpl*, AtomicString>& p1,
const std::pair<StringImpl*, AtomicString>& p2) {
- // Sort based on the attribute name pointers. It doesn't matter what the order is as long as it is always the same.
+ // Sort based on the attribute name pointers. It doesn't matter what the order
+ // is as long as it is always the same.
return p1.first < p2.first;
}
@@ -128,7 +129,8 @@ static void makePresentationAttributeCacheKey(
// FIXME: Enable for SVG.
if (!element.isHTMLElement())
return;
- // Interpretation of the size attributes on <input> depends on the type attribute.
+ // Interpretation of the size attributes on <input> depends on the type
+ // attribute.
if (isHTMLInputElement(element))
return;
AttributeCollection attributes = element.attributesWithoutUpdate();
@@ -137,7 +139,8 @@ static void makePresentationAttributeCacheKey(
continue;
if (!attr.namespaceURI().isNull())
return;
- // FIXME: Background URL may depend on the base URL and can't be shared. Disallow caching.
+ // FIXME: Background URL may depend on the base URL and can't be shared.
+ // Disallow caching.
if (attr.name() == backgroundAttr)
return;
result.attributesAndValues.append(
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.h ('k') | third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698