diff --git a/layout/base/nsDisplayList.cpp b/layout/base/nsDisplayList.cpp index 3e9683e640a..2665f76aaf5 100644 --- a/layout/base/nsDisplayList.cpp +++ b/layout/base/nsDisplayList.cpp @@ -4125,6 +4125,8 @@ nsDisplayScrollInfoLayer::nsDisplayScrollInfoLayer( nsDisplayScrollInfoLayer::~nsDisplayScrollInfoLayer() { + FrameProperties props = mScrolledFrame->Properties(); + props.Remove(nsIFrame::ScrollLayerCount()); MOZ_COUNT_DTOR(nsDisplayScrollInfoLayer); }