Bug 1507895 - Fix formatting error in Part III
authorTimothy Guan-tin Chien <timdream@gmail.com>
Mon, 28 Jan 2019 19:19:14 +0000
changeset 455685 033f90fc955948781a05b175d92aab568e1fd8f5
parent 455684 ba4db0fbeb24b49b1087a03054881cfd2a19120b
child 455686 1fb218c2d332059aef05649f17012bc7f07946bd
push id76928
push usertchien@mozilla.com
push dateMon, 28 Jan 2019 19:20:53 +0000
treeherderautoland@033f90fc9559 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1507895
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507895 - Fix formatting error in Part III Differential Revision: https://phabricator.services.mozilla.com/D17855
dom/html/HTMLMarqueeElement.cpp
--- a/dom/html/HTMLMarqueeElement.cpp
+++ b/dom/html/HTMLMarqueeElement.cpp
@@ -118,18 +118,18 @@ bool HTMLMarqueeElement::ParseAttribute(
                                               aMaybeScriptedPrincipal, aResult);
 }
 
 nsresult HTMLMarqueeElement::AfterSetAttr(int32_t aNameSpaceID, nsAtom* aName,
                                           const nsAttrValue* aValue,
                                           const nsAttrValue* aOldValue,
                                           nsIPrincipal* aMaybeScriptedPrincipal,
                                           bool aNotify) {
-  if (IsInComposedDoc() &&
-      aNameSpaceID == kNameSpaceID_None && aName == nsGkAtoms::direction) {
+  if (IsInComposedDoc() && aNameSpaceID == kNameSpaceID_None &&
+      aName == nsGkAtoms::direction) {
     NotifyUAWidgetSetupOrChange();
   }
   return nsGenericHTMLElement::AfterSetAttr(
       aNameSpaceID, aName, aValue, aOldValue, aMaybeScriptedPrincipal, aNotify);
 }
 
 void HTMLMarqueeElement::MapAttributesIntoRule(
     const nsMappedAttributes* aAttributes, MappedDeclarations& aDecls) {