summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsIFrame.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-16 17:51:36 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-16 17:52:30 -0400
commit1f5c67934f05d036de575c3d8172587fa6d398bc (patch)
tree2b9107c18edfe1752152febbc68f938050136d84 /layout/generic/nsIFrame.h
parent32c3ee92b8b9b1640d346761b36c642f9a968ce3 (diff)
downloadUXP-1f5c67934f05d036de575c3d8172587fa6d398bc.tar
UXP-1f5c67934f05d036de575c3d8172587fa6d398bc.tar.gz
UXP-1f5c67934f05d036de575c3d8172587fa6d398bc.tar.lz
UXP-1f5c67934f05d036de575c3d8172587fa6d398bc.tar.xz
UXP-1f5c67934f05d036de575c3d8172587fa6d398bc.zip
Bug 1343937 - Fix a crash in nsWrapperCache.h
* Implement and use GetInFlowParent * Exempt scrollbar NAC from the new NAC semantics Tag #1375
Diffstat (limited to 'layout/generic/nsIFrame.h')
-rw-r--r--layout/generic/nsIFrame.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h
index 93eb95099..3137aaee2 100644
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -721,6 +721,13 @@ public:
* Accessor functions for geometric parent.
*/
nsContainerFrame* GetParent() const { return mParent; }
+
+ /**
+ * Gets the parent of a frame, using the parent of the placeholder for
+ * out-of-flow frames.
+ */
+ inline nsContainerFrame* GetInFlowParent();
+
/**
* Set this frame's parent to aParent.
* If the frame may have moved into or out of a scrollframe's