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

Unified Diff: Source/web/tests/Canvas2DLayerBridgeTest.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 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
« no previous file with comments | « Source/web/tests/BitmapImageTest.cpp ('k') | Source/web/tests/Canvas2DLayerManagerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « Source/web/tests/BitmapImageTest.cpp ('k') | Source/web/tests/Canvas2DLayerManagerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698