summaryrefslogtreecommitdiff
path: root/layout/base/RestyleManager.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-29 12:36:53 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:05:49 +0200
commit528abd534ef3e785d4a926a235e58f5c5179aef5 (patch)
tree67d848fa3880b5761ebf26fddf397dbe16880730 /layout/base/RestyleManager.h
parent519030e688dd7075a7cd9f14dd6fb9e210b5a689 (diff)
downloaduxp-528abd534ef3e785d4a926a235e58f5c5179aef5.tar.gz
Issue #80 - De-unify layout/base
Diffstat (limited to 'layout/base/RestyleManager.h')
-rw-r--r--layout/base/RestyleManager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/base/RestyleManager.h b/layout/base/RestyleManager.h
index e22fe90581..4886d77bcb 100644
--- a/layout/base/RestyleManager.h
+++ b/layout/base/RestyleManager.h
@@ -191,6 +191,7 @@ public:
MOZ_ASSERT(false, "unexpected aPseudoType");
return nullptr;
}
+
private:
RestyleManager* mRestyleManager;
AutoRestore<ReframingStyleContexts*> mRestorePointer;
@@ -880,6 +881,11 @@ private:
AutoTArray<mozilla::dom::Element*, 4> mAncestors;
};
+dom::Element*
+ElementForStyleContext(nsIContent* aParentContent,
+ nsIFrame* aFrame,
+ CSSPseudoElementType aPseudoType);
+
} // namespace mozilla
#endif /* mozilla_RestyleManager_h */