diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-12 00:01:55 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:42:23 +0200 |
commit | 2560dd25148714c2aa085f587a7752904a79edb4 (patch) | |
tree | 97578b5af119459f85ca9aafe437503a7d475bc2 /layout | |
parent | 0e2b0db4d75f8fca6871da14f59f859fcf2f89ca (diff) | |
download | UXP-2560dd25148714c2aa085f587a7752904a79edb4.tar UXP-2560dd25148714c2aa085f587a7752904a79edb4.tar.gz UXP-2560dd25148714c2aa085f587a7752904a79edb4.tar.lz UXP-2560dd25148714c2aa085f587a7752904a79edb4.tar.xz UXP-2560dd25148714c2aa085f587a7752904a79edb4.zip |
Fix a whitespace issue in nsComputedDOMStyle.cpp
Diffstat (limited to 'layout')
-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. |