diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-12 00:01:55 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-12 00:01:55 +0100 |
commit | 7dc9aa0585a0d4174510b54ece6931c10a3a680b (patch) | |
tree | 6124de0f77ab9a479cafd35036c078e3fc1c9c95 | |
parent | a399acd57cdad2935f3edf43925ecb020b5eff59 (diff) | |
download | UXP-7dc9aa0585a0d4174510b54ece6931c10a3a680b.tar UXP-7dc9aa0585a0d4174510b54ece6931c10a3a680b.tar.gz UXP-7dc9aa0585a0d4174510b54ece6931c10a3a680b.tar.lz UXP-7dc9aa0585a0d4174510b54ece6931c10a3a680b.tar.xz UXP-7dc9aa0585a0d4174510b54ece6931c10a3a680b.zip |
Fix a whitespace issue in nsComputedDOMStyle.cpp
-rw-r--r-- | layout/style/nsComputedDOMStyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp index c717d59c8..910c1de8a 100644 --- a/layout/style/nsComputedDOMStyle.cpp +++ b/layout/style/nsComputedDOMStyle.cpp @@ -674,9 +674,9 @@ nsComputedDOMStyle::UpdateCurrentStyleSources(bool aNeedsLayoutFlush) mPresShell->GetPresContext()->GetRestyleGeneration(); if (mStyleContext) { - // We can't rely on the undisplayed restyle generation if mElement is
- // out-of-document, since that generation is not incremented for DOM changes
- // on out-of-document elements.
+ // We can't rely on the undisplayed restyle generation if mElement is + // out-of-document, since that generation is not incremented for DOM changes + // on out-of-document elements. if (mStyleContextGeneration == currentGeneration && mElement->IsInComposedDoc()) { // Our cached style context is still valid. |