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

Unified Diff: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h

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/LayoutObjectDrawingRecorder.h
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
index 358a3cce87415ec9fdff32348d2769560a011ec2..96811ee78f28b687127d2ad5ebfbb78bded1d297 100644
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h
@@ -27,7 +27,7 @@ class LayoutObjectDrawingRecorder final {
const LayoutObject& layout_object,
DisplayItem::Type display_item_type) {
if (layout_object.FullPaintInvalidationReason() ==
- kPaintInvalidationDelayedFull)
+ PaintInvalidationReason::kDelayedFull)
return false;
return DrawingRecorder::UseCachedDrawingIfPossible(context, layout_object,
display_item_type);
@@ -47,7 +47,7 @@ class LayoutObjectDrawingRecorder final {
// We may paint a delayed-invalidation object before it's actually
// invalidated.
if (layout_object.FullPaintInvalidationReason() ==
- kPaintInvalidationDelayedFull)
+ PaintInvalidationReason::kDelayedFull)
cache_skipper_.emplace(context);
drawing_recorder_.emplace(context, layout_object, display_item_type, clip);
}

Powered by Google App Engine
This is Rietveld 408576698