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

Unified Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.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/layout/PaintInvalidationState.cpp
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
index 8308b038d94566238b1cf2212c3450e1dd8d39c1..c6bda311789f548ff7e777d3c5e56769a8e7a212 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
@@ -299,16 +299,16 @@ void PaintInvalidationState::UpdateForChildren(PaintInvalidationReason reason) {
#endif
switch (reason) {
- case kPaintInvalidationDelayedFull:
+ case PaintInvalidationReason::kDelayedFull:
pending_delayed_paint_invalidations_.push_back(&current_object_);
break;
- case kPaintInvalidationSubtree:
+ case PaintInvalidationReason::kSubtree:
forced_subtree_invalidation_flags_ |=
(PaintInvalidatorContext::kForcedSubtreeFullInvalidation |
PaintInvalidatorContext::
kForcedSubtreeFullInvalidationForStackedContents);
break;
- case kPaintInvalidationSVGResourceChange:
+ case PaintInvalidationReason::kSVGResource:
forced_subtree_invalidation_flags_ |=
PaintInvalidatorContext::kForcedSubtreeSVGResourceChange;
break;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.cpp ('k') | third_party/WebKit/Source/core/layout/api/LayoutItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698