OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/paint/PaintInvalidator.h" | 5 #include "core/paint/PaintInvalidator.h" |
6 | 6 |
7 #include "core/editing/FrameSelection.h" | 7 #include "core/editing/FrameSelection.h" |
8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
10 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 context.NeedsVisualRectUpdate(object)) { | 499 context.NeedsVisualRectUpdate(object)) { |
500 // If any subtree flag is set, we also need to pass needsVisualRectUpdate | 500 // If any subtree flag is set, we also need to pass needsVisualRectUpdate |
501 // requirement to the subtree. | 501 // requirement to the subtree. |
502 context.forced_subtree_invalidation_flags |= | 502 context.forced_subtree_invalidation_flags |= |
503 PaintInvalidatorContext::kForcedSubtreeVisualRectUpdate; | 503 PaintInvalidatorContext::kForcedSubtreeVisualRectUpdate; |
504 } | 504 } |
505 } | 505 } |
506 | 506 |
507 void PaintInvalidator::ProcessPendingDelayedPaintInvalidations() { | 507 void PaintInvalidator::ProcessPendingDelayedPaintInvalidations() { |
508 for (auto target : pending_delayed_paint_invalidations_) { | 508 for (auto target : pending_delayed_paint_invalidations_) { |
509 target->GetMutableForPainting().SetShouldDoFullPaintInvalidation( | 509 target->GetMutableForPainting() |
510 kPaintInvalidationDelayedFull); | 510 .SetShouldDoFullPaintInvalidationWithoutGeometryChange( |
| 511 kPaintInvalidationDelayedFull); |
511 } | 512 } |
512 } | 513 } |
513 | 514 |
514 } // namespace blink | 515 } // namespace blink |
OLD | NEW |