Index: third_party/WebKit/Source/core/html/HTMLElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
index 69d1fc0537bfa0aa545342e1c9574c66fb19a3f2..2d7b07f670f35c0f662ad492b6e7b298a315cc75 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -148,8 +148,9 @@ bool HTMLElement::ieForbidsInsertHTML() const { |
hasTagName(brTag) || hasTagName(colTag) || hasTagName(embedTag) || |
hasTagName(frameTag) || hasTagName(hrTag) || hasTagName(imageTag) || |
hasTagName(imgTag) || hasTagName(inputTag) || hasTagName(keygenTag) || |
- hasTagName(linkTag) || (RuntimeEnabledFeatures::contextMenuEnabled() && |
- hasTagName(menuitemTag)) || |
+ hasTagName(linkTag) || |
+ (RuntimeEnabledFeatures::contextMenuEnabled() && |
+ hasTagName(menuitemTag)) || |
hasTagName(metaTag) || hasTagName(paramTag) || hasTagName(sourceTag) || |
hasTagName(trackTag) || hasTagName(wbrTag)) |
return true; |
@@ -794,8 +795,9 @@ HTMLFormElement* HTMLElement::findFormAncestor() const { |
} |
static inline bool elementAffectsDirectionality(const Node* node) { |
- return node->isHTMLElement() && (isHTMLBDIElement(toHTMLElement(*node)) || |
- toHTMLElement(*node).hasAttribute(dirAttr)); |
+ return node->isHTMLElement() && |
+ (isHTMLBDIElement(toHTMLElement(*node)) || |
+ toHTMLElement(*node).hasAttribute(dirAttr)); |
} |
void HTMLElement::childrenChanged(const ChildrenChange& change) { |
@@ -904,8 +906,9 @@ void HTMLElement::adjustDirectionalityIfNeededAfterChildAttributeChanged( |
elementToAdjust = FlatTreeTraversal::parentElement(*elementToAdjust)) { |
if (elementAffectsDirectionality(elementToAdjust)) { |
elementToAdjust->setNeedsStyleRecalc( |
- LocalStyleChange, StyleChangeReasonForTracing::create( |
- StyleChangeReason::WritingModeChange)); |
+ LocalStyleChange, |
+ StyleChangeReasonForTracing::create( |
+ StyleChangeReason::WritingModeChange)); |
return; |
} |
} |