Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp

Issue 2872423002: Tweak PaintInvalidationReasons (Closed)
Patch Set: Rebaseline-cl Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698