Commit 1702b048 authored by Patrick Noland's avatar Patrick Noland Committed by Commit Bot

Re-enable Scroll Anchor Serialization

Now that root layer scrolling and scroll anchoring are on unconditionally,
it no longer makes sense to check FrameView's ShouldPerformScrollAnchoring.
This inadvertently turned ScrollAnchorSerialization off even when the flag
was turned on.

Change-Id: I56f5224bb2aef6d06e4d0086b76a6122d4ac4ad3
Reviewed-on: https://chromium-review.googlesource.com/1100068Reviewed-by: default avatarSteve Kobes <skobes@chromium.org>
Commit-Queue: Patrick Noland <pnoland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567149}
parent 437a6e06
......@@ -257,9 +257,7 @@ void FrameLoader::SetDefersLoading(bool defers) {
}
bool FrameLoader::ShouldSerializeScrollAnchor() {
return frame_ && frame_->View() &&
RuntimeEnabledFeatures::ScrollAnchorSerializationEnabled() &&
frame_->View()->ShouldPerformScrollAnchoring();
return RuntimeEnabledFeatures::ScrollAnchorSerializationEnabled();
}
void FrameLoader::SaveScrollAnchor() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment