| Index: Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| diff --git a/Source/web/tests/DrawingBufferTest.cpp b/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| similarity index 99%
|
| rename from Source/web/tests/DrawingBufferTest.cpp
|
| rename to Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| index 0d0ac8f9a207533abcd9e65ec087f9b26f8f9476..2a9fb38d59431abc8b1d6844eb98f7a2c06c23d0 100644
|
| --- a/Source/web/tests/DrawingBufferTest.cpp
|
| +++ b/Source/platform/graphics/gpu/DrawingBufferTest.cpp
|
| @@ -34,9 +34,9 @@
|
|
|
| #include "platform/graphics/ImageBuffer.h"
|
| #include "platform/graphics/UnacceleratedImageBufferSurface.h"
|
| +#include "platform/graphics/test/MockWebGraphicsContext3D.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebExternalTextureMailbox.h"
|
| -#include "web/tests/MockWebGraphicsContext3D.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| #include <gmock/gmock.h>
|
| @@ -105,8 +105,6 @@ static const int initialWidth = 100;
|
| static const int initialHeight = 100;
|
| static const int alternateHeight = 50;
|
|
|
| -} // namespace
|
| -
|
| class DrawingBufferTest : public Test {
|
| protected:
|
| virtual void SetUp()
|
| @@ -125,8 +123,6 @@ protected:
|
| RefPtr<DrawingBuffer> m_drawingBuffer;
|
| };
|
|
|
| -namespace {
|
| -
|
| TEST_F(DrawingBufferTest, testPaintRenderingResultsToCanvas)
|
| {
|
| OwnPtr<ImageBufferSurface> imageBufferSurface = adoptPtr(new UnacceleratedImageBufferSurface(IntSize(initialWidth, initialHeight)));
|
|
|