summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc')
-rw-r--r--chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc b/chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc
index 648cba4ab0b..fff9fe8bf80 100644
--- a/chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc
+++ b/chromium/third_party/blink/renderer/platform/graphics/paint/paint_artifact.cc
@@ -107,16 +107,8 @@ SkColor PaintArtifact::SafeOpaqueBackgroundColor(
}
void PaintArtifact::FinishCycle() {
- // Until CompositeAfterPaint, PaintController::ClearPropertyTreeChangedStateTo
- // is used for clearing the property tree changed state at the end of paint
- // instead of in FinishCycle. See: LocalFrameView::RunPaintLifecyclePhase.
- bool clear_property_tree_changed =
- RuntimeEnabledFeatures::CompositeAfterPaintEnabled();
- for (auto& chunk : chunks_) {
+ for (auto& chunk : chunks_)
chunk.client_is_just_created = false;
- if (clear_property_tree_changed)
- chunk.properties.ClearChangedToRoot();
- }
}
} // namespace blink