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

Unified Diff: Source/platform/graphics/ImageLayerChromiumTest.cpp

Issue 216423011: Move remained platform tests from web/tests/ to platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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: Source/platform/graphics/ImageLayerChromiumTest.cpp
diff --git a/Source/web/tests/ImageLayerChromiumTest.cpp b/Source/platform/graphics/ImageLayerChromiumTest.cpp
similarity index 99%
rename from Source/web/tests/ImageLayerChromiumTest.cpp
rename to Source/platform/graphics/ImageLayerChromiumTest.cpp
index 66f0864bc0e4f36c6ddc096c85f790d68671c247..3dbf3f5adc6af5fe562bdd14fbe89de634253dbf 100644
--- a/Source/web/tests/ImageLayerChromiumTest.cpp
+++ b/Source/platform/graphics/ImageLayerChromiumTest.cpp
@@ -23,20 +23,21 @@
*/
#include "config.h"
+#include "platform/graphics/Image.h"
-#include <gtest/gtest.h>
#include "platform/graphics/GraphicsLayer.h"
-#include "platform/graphics/Image.h"
#include "platform/graphics/skia/NativeImageSkia.h"
#include "public/platform/WebImageLayer.h"
#include "wtf/PassOwnPtr.h"
+#include <gtest/gtest.h>
+
using namespace WebCore;
namespace {
class MockGraphicsLayerClient : public GraphicsLayerClient {
- public:
+public:
virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) OVERRIDE { }
virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) OVERRIDE { }
virtual String debugName(const GraphicsLayer*) OVERRIDE { return String(); }

Powered by Google App Engine
This is Rietveld 408576698