Commit f79de532 authored by Manuel Rego Casasnovas's avatar Manuel Rego Casasnovas Committed by Commit Bot

Remove redundant call to SetShouldDoFullPaintInvalidation()

Remove call to SetShouldDoFullPaintInvalidation()
in LayoutBlockFlow::DetermineStartPosition() that was done just after
SetNeedsLayoutAndFullPaintInvalidation(), as this is already called
at the end of that method.

Change-Id: If53e4e3e5aba9a6f3c424d3f5b805151fd9223b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834084Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#702160}
parent 48b28e52
...@@ -2128,7 +2128,6 @@ RootInlineBox* LayoutBlockFlow::DetermineStartPosition( ...@@ -2128,7 +2128,6 @@ RootInlineBox* LayoutBlockFlow::DetermineStartPosition(
if (layout_state.HasInlineChild() && !SelfNeedsLayout()) { if (layout_state.HasInlineChild() && !SelfNeedsLayout()) {
SetNeedsLayoutAndFullPaintInvalidation( SetNeedsLayoutAndFullPaintInvalidation(
layout_invalidation_reason::kFloatDescendantChanged, kMarkOnlyThis); layout_invalidation_reason::kFloatDescendantChanged, kMarkOnlyThis);
SetShouldDoFullPaintInvalidation();
} }
DeleteLineBoxTree(); DeleteLineBoxTree();
......
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