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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.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/core/paint/HTMLCanvasPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
index 9cbe6a64cd3a0f8df561dc5a2e7f802a4b167096..fcd1fb43d45bf51c992345a95ac476d8c1aa90f5 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp
@@ -53,7 +53,7 @@ class HTMLCanvasPainterTestForSPv2 : public ::testing::Test,
PassRefPtr<Canvas2DLayerBridge> makeCanvas2DLayerBridge(const IntSize& size) {
return adoptRef(new Canvas2DLayerBridge(
- wrapUnique(new FakeWebGraphicsContext3DProvider(&m_gl)), size, 0,
+ WTF::wrapUnique(new FakeWebGraphicsContext3DProvider(&m_gl)), size, 0,
NonOpaque, Canvas2DLayerBridge::ForceAccelerationForTesting, nullptr,
kN32_SkColorType));
}
@@ -78,8 +78,8 @@ TEST_P(HTMLCanvasPainterTestForSPv2, Canvas2DLayerAppearsInLayerTree) {
element->getCanvasRenderingContext("2d", attributes);
RefPtr<Canvas2DLayerBridge> bridge =
makeCanvas2DLayerBridge(IntSize(300, 200));
- element->createImageBufferUsingSurfaceForTesting(
- wrapUnique(new Canvas2DImageBufferSurface(bridge, IntSize(300, 200))));
+ element->createImageBufferUsingSurfaceForTesting(WTF::wrapUnique(
+ new Canvas2DImageBufferSurface(bridge, IntSize(300, 200))));
ASSERT_EQ(context, element->renderingContext());
ASSERT_TRUE(context->isAccelerated());
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698