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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp

Issue 2286843002: Rename DisplayItem::Type enum constants to Chromium style. (Closed)
Patch Set: Rebasing... Created 4 years, 4 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/PaintChunkerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp
index a4301ee160ee71d5bf6186426f4aa933a7cc769b..267ff3f3766c02faf359e9efe9fd9ddff9170d44 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp
@@ -46,12 +46,12 @@ public:
class NormalTestDisplayItem : public TestDisplayItem {
public:
- NormalTestDisplayItem() : TestDisplayItem(DisplayItem::DrawingFirst) { }
+ NormalTestDisplayItem() : TestDisplayItem(DisplayItem::kDrawingFirst) { }
};
class TestDisplayItemRequiringSeparateChunk : public TestDisplayItem {
public:
- TestDisplayItemRequiringSeparateChunk() : TestDisplayItem(DisplayItem::ForeignLayerPlugin) { }
+ TestDisplayItemRequiringSeparateChunk() : TestDisplayItem(DisplayItem::kForeignLayerPlugin) { }
};
TEST_F(PaintChunkerTest, Empty)
@@ -254,7 +254,7 @@ TEST_F(PaintChunkerTest, CreatesSeparateChunksWhenRequested)
TEST_F(PaintChunkerTest, ChunkIds)
{
PaintChunker chunker;
- TestDisplayItem i1(DisplayItem::DrawingFirst);
+ TestDisplayItem i1(DisplayItem::kDrawingFirst);
DisplayItem::Id id1 = i1.getId();
TestDisplayItemRequiringSeparateChunk i2;
DisplayItem::Id id2 = i2.getId();
@@ -286,7 +286,7 @@ TEST_F(PaintChunkerTest, ChunkIds)
TEST_F(PaintChunkerTest, ChunkIdsSkippingCache)
{
PaintChunker chunker;
- TestDisplayItem i1(DisplayItem::DrawingFirst);
+ TestDisplayItem i1(DisplayItem::kDrawingFirst);
i1.setSkippedCache();
DisplayItem::Id id1 = i1.getId();
TestDisplayItemRequiringSeparateChunk i2;

Powered by Google App Engine
This is Rietveld 408576698