Commit 43d8b52c authored by szager's avatar szager Committed by Commit bot

Don't call UpdateScrollingAfterLayout from StyleDidChange.

This line was mistakenly added in:

https://codereview.chromium.org/2839183002/

BUG=717099

Review-Url: https://codereview.chromium.org/2853013003
Cr-Commit-Position: refs/heads/master@{#468444}
parent 05f315fb
...@@ -331,8 +331,7 @@ void LayoutBoxModelObject::StyleDidChange(StyleDifference diff, ...@@ -331,8 +331,7 @@ void LayoutBoxModelObject::StyleDidChange(StyleDifference diff,
SetChildNeedsLayout(); SetChildNeedsLayout();
CreateLayerAfterStyleChange(); CreateLayerAfterStyleChange();
if (Parent() && !NeedsLayout()) { if (Parent() && !NeedsLayout()) {
// FIXME: We should call specialized versions of these functions. // FIXME: We should call a specialized versions of this function.
Layer()->UpdateScrollingAfterLayout();
Layer()->UpdateLayerPositionsAfterLayout(); Layer()->UpdateLayerPositionsAfterLayout();
} }
} }
......
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