diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-16 17:51:36 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-16 17:52:30 -0400 |
commit | 1f5c67934f05d036de575c3d8172587fa6d398bc (patch) | |
tree | 2b9107c18edfe1752152febbc68f938050136d84 /layout/generic/nsIFrame.h | |
parent | 32c3ee92b8b9b1640d346761b36c642f9a968ce3 (diff) | |
download | UXP-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.h | 7 |
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 |