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

Unified Diff: third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 5a26c8ca832b6b2b06483a8b0a6496391caca6b7..431cac89ca025f086c510c2e638e152b58f753b3 100644
--- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
@@ -74,7 +74,7 @@ TestPaintArtifact& TestPaintArtifact::chunk(
TestPaintArtifact& TestPaintArtifact::rectDrawing(const FloatRect& bounds,
Color color) {
std::unique_ptr<DummyRectClient> client =
- makeUnique<DummyRectClient>(bounds, color);
+ WTF::makeUnique<DummyRectClient>(bounds, color);
m_displayItemList.allocateAndConstruct<DrawingDisplayItem>(
*client, DisplayItem::kDrawingFirst, client->makePicture());
m_dummyClients.append(std::move(client));
@@ -87,7 +87,7 @@ TestPaintArtifact& TestPaintArtifact::foreignLayer(
scoped_refptr<cc::Layer> layer) {
FloatRect floatBounds(location, FloatSize(size));
std::unique_ptr<DummyRectClient> client =
- wrapUnique(new DummyRectClient(floatBounds, Color::transparent));
+ WTF::wrapUnique(new DummyRectClient(floatBounds, Color::transparent));
m_displayItemList.allocateAndConstruct<ForeignLayerDisplayItem>(
*client, DisplayItem::kForeignLayerFirst, std::move(layer), location,
size);

Powered by Google App Engine
This is Rietveld 408576698