Bug 1394935: Fix a little typo in NoteDirtyElement. r?bholley draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 31 Aug 2017 09:42:23 +0200
changeset 656817 5ef53b0cdeba4b5374d3861b4a1ae9912703bc83
parent 656816 44811bfa011dd9330bef4b9a1d8852fa9db45d79
child 656818 3c220b14d8529b38d8ea4749e4fcd086bee3bae8
push id77325
push userbmo:emilio@crisal.io
push dateThu, 31 Aug 2017 18:09:13 +0000
reviewersbholley
bugs1394935
milestone57.0a1
Bug 1394935: Fix a little typo in NoteDirtyElement. r?bholley MozReview-Commit-ID: LMQlNcJjz80
dom/base/Element.cpp
--- a/dom/base/Element.cpp
+++ b/dom/base/Element.cpp
@@ -4372,17 +4372,17 @@ NoteDirtyElement(Element* aElement, uint
   // If there's no existing restyle root, or if the root is already aElement,
   // just note the root+bits and return.
   if (!existingRoot || existingRoot == aElement) {
     doc->SetServoRestyleRoot(aElement, existingBits | aBit);
     return;
   }
 
   // There is an existing restyle root - walk up the tree from our element,
-  // propagating bits as wel go.
+  // propagating bits as we go.
   const bool reachedDocRoot = !parent || !PropagateBits(parent, aBit, existingRoot);
 
   if (!reachedDocRoot || existingRoot == doc) {
       // We're a descendant of the existing root. All that's left to do is to
       // make sure the bit we propagated is also registered on the root.
       doc->SetServoRestyleRoot(existingRoot, existingBits | aBit);
   } else {
     // We reached the root without crossing the pre-existing restyle root. We