Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index 116a3deac62cda511a4b19fcc6b5c4a0526087e2..ebb192b3203d7f7e29c8d392cc48e36ffad12108 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1004,7 +1004,8 @@ void GraphicsLayer::SetIsRootForIsolatedGroup(bool isolated) { |
void GraphicsLayer::SetContentsNeedsDisplay() { |
if (WebLayer* contents_layer = ContentsLayerIfRegistered()) { |
contents_layer->Invalidate(); |
- TrackRasterInvalidation(*this, contents_rect_, kPaintInvalidationFull); |
+ TrackRasterInvalidation(*this, contents_rect_, |
+ PaintInvalidationReason::kFull); |
} |
} |
@@ -1020,7 +1021,7 @@ void GraphicsLayer::SetNeedsDisplay() { |
GetPaintController().InvalidateAll(); |
TrackRasterInvalidation(*this, IntRect(IntPoint(), ExpandedIntSize(size_)), |
- kPaintInvalidationFull); |
+ PaintInvalidationReason::kFull); |
} |
DISABLE_CFI_PERF |