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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.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/platform/graphics/paint/PaintControllerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
index 9904efebe90c1d1137e7c3922762ffbd90d109f1..7b1d3f21fd84e2b538c501a4164e57a6c9022653 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
@@ -1776,7 +1776,8 @@ TEST_P(PaintControllerTest, PartialSkipCache) {
// Content's cache is invalid because it has display items skipped cache.
EXPECT_FALSE(GetPaintController().ClientCacheIsValid(content));
- EXPECT_EQ(kPaintInvalidationFull, content.GetPaintInvalidationReason());
+ EXPECT_EQ(PaintInvalidationReason::kFull,
+ content.GetPaintInvalidationReason());
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
GetPaintController().UpdateCurrentPaintChunkProperties(

Powered by Google App Engine
This is Rietveld 408576698