diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-03 19:43:51 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-03 19:43:51 +0100 |
commit | 5ab2da700448caf181dae7dec2f53997faf118ea (patch) | |
tree | d04be907b452da59046b8c8cefbdd8a6c2f7cfd1 /layout/generic/StickyScrollContainer.cpp | |
parent | ce11d5cae866f24b8f7435cdc3725cfd2748595b (diff) | |
download | UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.gz UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.lz UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.xz UXP-5ab2da700448caf181dae7dec2f53997faf118ea.zip |
Issue #146 - Part 6: Allow `position: sticky` on table elements.
Diffstat (limited to 'layout/generic/StickyScrollContainer.cpp')
-rw-r--r-- | layout/generic/StickyScrollContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/StickyScrollContainer.cpp b/layout/generic/StickyScrollContainer.cpp index ff8ebcfef..c5ed44e92 100644 --- a/layout/generic/StickyScrollContainer.cpp +++ b/layout/generic/StickyScrollContainer.cpp @@ -45,7 +45,7 @@ StickyScrollContainer::GetStickyScrollContainerForFrame(nsIFrame* aFrame) // <html style="position: fixed"> return nullptr; } - auto frame = static_cast<nsIFrame*>(do_QueryFrame(scrollFrame)); + nsIFrame* frame = do_QueryFrame(scrollFrame); StickyScrollContainer* s = frame->GetProperty(StickyScrollContainerProperty()); if (!s) { |