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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp

Issue 2588403002: TestingPlatformSupport: register Platform instance correctly (Closed)
Patch Set: review #16 and merge master Created 3 years, 11 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/Canvas2DLayerBridgeTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
index b40311d4c2ae3a679bedba70501a571c3fba5860..804213776aacea23ab3602f0248a6fde8d70078d 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridgeTest.cpp
@@ -1254,7 +1254,8 @@ TEST_F(Canvas2DLayerBridgeTest, DISABLED_DeleteIOSurfaceAfterTeardown)
#endif
{
FakeGLES2InterfaceWithImageSupport gl;
- FakePlatformSupport testingPlatformSupport;
+ ScopedTestingPlatformSupport<FakePlatformSupport> testingPlatformSupport(
+ WTF::makeUnique<FakePlatformSupport>());
std::unique_ptr<FakeWebGraphicsContext3DProvider> contextProvider =
WTF::wrapUnique(new FakeWebGraphicsContext3DProvider(&gl));

Powered by Google App Engine
This is Rietveld 408576698