| Index: Source/web/tests/Canvas2DLayerBridgeTest.cpp
|
| diff --git a/Source/core/platform/graphics/Canvas2DLayerBridgeTest.cpp b/Source/web/tests/Canvas2DLayerBridgeTest.cpp
|
| similarity index 94%
|
| rename from Source/core/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| rename to Source/web/tests/Canvas2DLayerBridgeTest.cpp
|
| index 391808afeb61672d6717a93fa7e8359a59dedd9c..393c8c0d07aba3a2e6a5a6777670553a31a60d57 100644
|
| --- a/Source/core/platform/graphics/Canvas2DLayerBridgeTest.cpp
|
| +++ b/Source/web/tests/Canvas2DLayerBridgeTest.cpp
|
| @@ -24,15 +24,15 @@
|
|
|
| #include "config.h"
|
|
|
| -#include "core/platform/graphics/Canvas2DLayerBridge.h"
|
| +#include "platform/graphics/Canvas2DLayerBridge.h"
|
|
|
| #include "SkDeferredCanvas.h"
|
| #include "SkSurface.h"
|
| -#include "core/platform/graphics/ImageBuffer.h"
|
| -#include "core/platform/testing/FakeWebGraphicsContext3D.h"
|
| +#include "platform/graphics/ImageBuffer.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebThread.h"
|
| #include "third_party/skia/include/core/SkDevice.h"
|
| +#include "web/tests/MockWebGraphicsContext3D.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| #include <gmock/gmock.h>
|
| @@ -46,7 +46,7 @@ using testing::Test;
|
|
|
| namespace {
|
|
|
| -class MockCanvasContext : public FakeWebGraphicsContext3D {
|
| +class MockCanvasContext : public MockWebGraphicsContext3D {
|
| public:
|
| MOCK_METHOD0(flush, void(void));
|
| MOCK_METHOD0(createTexture, unsigned(void));
|
|
|