Bug 1394935: Fix a little typo in NoteDirtyElement. r=bholley
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 31 Aug 2017 09:42:23 +0200
changeset 378050 3b1074717dac63fd1e2d2128f522c35ad9e59899
parent 378049 089cbcabf67aee48a15d86b7db992f15883b92b4
child 378051 c3f9a3e2ce9649289fd0e2e527e09206426f2730
push id50168
push userecoal95@gmail.com
push dateThu, 31 Aug 2017 20:39:34 +0000
treeherderautoland@8daf204f77fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbholley
bugs1394935
milestone57.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 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