| 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 #ifndef BlockFlowPaintInvalidator_h | 5 #ifndef BlockFlowPaintInvalidator_h |
| 6 #define BlockFlowPaintInvalidator_h | 6 #define BlockFlowPaintInvalidator_h |
| 7 | 7 |
| 8 #include "platform/graphics/PaintInvalidationReason.h" | 8 #include "platform/graphics/PaintInvalidationReason.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class LayoutBlockFlow; | 13 class LayoutBlockFlow; |
| 14 | 14 |
| 15 class BlockFlowPaintInvalidator { | 15 class BlockFlowPaintInvalidator { |
| 16 STACK_ALLOCATED(); | 16 STACK_ALLOCATED(); |
| 17 | 17 |
| 18 public: | 18 public: |
| 19 BlockFlowPaintInvalidator(const LayoutBlockFlow& block_flow) | 19 BlockFlowPaintInvalidator(const LayoutBlockFlow& block_flow) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 kInvalidateDescendants | 31 kInvalidateDescendants |
| 32 }; | 32 }; |
| 33 void InvalidatePaintForOverhangingFloatsInternal(InvalidateDescendantMode); | 33 void InvalidatePaintForOverhangingFloatsInternal(InvalidateDescendantMode); |
| 34 | 34 |
| 35 const LayoutBlockFlow& block_flow_; | 35 const LayoutBlockFlow& block_flow_; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace blink | 38 } // namespace blink |
| 39 | 39 |
| 40 #endif | 40 #endif |
| OLD | NEW |