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

Unified Diff: third_party/WebKit/Source/platform/testing/TestPaintArtifact.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/testing/TestPaintArtifact.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
index 6aff3b0142aa097b218fea974b7e54dfb1d46bdd..23ecc3d00cd0b2cdf325cd826974a7da4dcd24f9 100644
--- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
@@ -77,7 +77,7 @@ TestPaintArtifact& TestPaintArtifact::rectDrawing(const FloatRect& bounds, Color
{
std::unique_ptr<DummyRectClient> client = wrapUnique(new DummyRectClient(bounds, color));
m_displayItemList.allocateAndConstruct<DrawingDisplayItem>(
- *client, DisplayItem::DrawingFirst, client->makePicture());
+ *client, DisplayItem::kDrawingFirst, client->makePicture());
m_dummyClients.append(std::move(client));
return *this;
}
@@ -87,7 +87,7 @@ TestPaintArtifact& TestPaintArtifact::foreignLayer(const FloatPoint& location, c
FloatRect floatBounds(location, FloatSize(size));
std::unique_ptr<DummyRectClient> client = wrapUnique(new DummyRectClient(floatBounds, Color::transparent));
m_displayItemList.allocateAndConstruct<ForeignLayerDisplayItem>(
- *client, DisplayItem::ForeignLayerFirst, std::move(layer), location, size);
+ *client, DisplayItem::kForeignLayerFirst, std::move(layer), location, size);
m_dummyClients.append(std::move(client));
return *this;
}
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp ('k') | third_party/WebKit/Source/web/PageOverlayTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698