Index: third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp |
index a3147b3007b98d9311a64fcc018f56399cf05659..07aefe471a6af72ac90e5239e3ee340d4bae42a8 100644 |
--- a/third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp |
@@ -46,8 +46,8 @@ void BlockFlowPaintInvalidator::InvalidateDisplayItemClients( |
// PaintInvalidationRectangle happens when we invalidate the caret. |
// The later conditions don't apply when we invalidate the caret or the |
// selection. |
- if (reason == kPaintInvalidationRectangle || |
- reason == kPaintInvalidationSelection) |
+ if (reason == PaintInvalidationReason::kRectangle || |
+ reason == PaintInvalidationReason::kSelection) |
return; |
RootInlineBox* line = block_flow_.FirstRootBox(); |