Bug 1470504 - Remove the assertion in ScrollMetadata::SetUsesContainerScrolling(). r=kats
The assertion is not serving much purpose. Now that container scrolling is a Live pref, checking it on the compositor side is racy if the pref is flipped, and on the content side it's clear from the code that it will only be set to true if the pref is turned on. Differential Revision: https://phabricator.services.mozilla.com/D7339
This commit is contained in:
@@ -80,7 +80,6 @@ FrameMetrics::KeepLayoutViewportEnclosingVisualViewport(
|
||||
|
||||
void
|
||||
ScrollMetadata::SetUsesContainerScrolling(bool aValue) {
|
||||
MOZ_ASSERT_IF(aValue, gfxPrefs::LayoutUseContainersForRootFrames());
|
||||
mUsesContainerScrolling = aValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user