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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.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/DisplayItemListTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
index eceb235483dff2678917a497c042891f91728e53..fe2c4b52c3b43ae2b0f0c4dbe551ed109765ea0f 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
@@ -48,7 +48,7 @@ TEST_F(DisplayItemListTest, AppendVisualRect_Simple)
{
IntRect drawingBounds(5, 6, 7, 8);
m_list.allocateAndConstruct<DrawingDisplayItem>(
- m_client, DisplayItem::Type::DocumentBackground, createRectPicture(drawingBounds), true);
+ m_client, DisplayItem::Type::kDocumentBackground, createRectPicture(drawingBounds), true);
m_list.appendVisualRect(drawingBounds);
EXPECT_EQ(static_cast<size_t>(1), m_list.size());
@@ -69,7 +69,7 @@ TEST_F(DisplayItemListTest, AppendVisualRect_BlockContainingDrawing)
IntRect drawingBounds(5, 6, 1, 1);
m_list.allocateAndConstruct<DrawingDisplayItem>(
- m_client, DisplayItem::Type::DocumentBackground, createRectPicture(drawingBounds), true);
+ m_client, DisplayItem::Type::kDocumentBackground, createRectPicture(drawingBounds), true);
m_list.appendVisualRect(drawingBounds);
m_list.allocateAndConstruct<EndSubsequenceDisplayItem>(m_client);

Powered by Google App Engine
This is Rietveld 408576698