summaryrefslogtreecommitdiffstats
path: root/layout/style/nsComputedDOMStyle.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-12 00:01:55 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:42:23 +0200
commit2560dd25148714c2aa085f587a7752904a79edb4 (patch)
tree97578b5af119459f85ca9aafe437503a7d475bc2 /layout/style/nsComputedDOMStyle.cpp
parent0e2b0db4d75f8fca6871da14f59f859fcf2f89ca (diff)
downloadUXP-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/style/nsComputedDOMStyle.cpp')
-rw-r--r--layout/style/nsComputedDOMStyle.cpp6
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.