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,
SetChildNeedsLayout();
CreateLayerAfterStyleChange();
if (Parent() && !NeedsLayout()) {
// FIXME: We should call specialized versions of these functions.
Layer()->UpdateScrollingAfterLayout();
// FIXME: We should call a specialized versions of this function.
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