summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp')
-rw-r--r--Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp b/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
index 6972424b0..26bdd4f11 100644
--- a/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
+++ b/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
@@ -30,8 +30,8 @@
#include "FakeWebGraphicsContext3D.h"
#include "GraphicsContext3DPrivate.h"
#include "ImageBuffer.h"
+#include "WebCompositorInitializer.h"
#include <public/Platform.h>
-#include <public/WebCompositor.h>
#include <public/WebThread.h>
#include <gmock/gmock.h>
@@ -81,7 +81,7 @@ protected:
OwnPtr<WebThread> thread;
if (threadMode == Threaded)
thread = adoptPtr(WebKit::Platform::current()->createThread("Canvas2DLayerBridgeTest"));
- WebCompositor::initialize(thread.get());
+ WebKitTests::WebCompositorInitializer initializer(thread.get());
WebGLId backTextureId = 1;
WebGLId frontTextureId = 1;
@@ -109,8 +109,6 @@ protected:
EXPECT_CALL(mainMock, flush());
}
bridge.clear();
-
- WebCompositor::shutdown();
}
};