aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DeviceTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DeviceTest.cpp')
-rw-r--r--tests/DeviceTest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/DeviceTest.cpp b/tests/DeviceTest.cpp
index 184da92fb7..a9e21e6fa9 100644
--- a/tests/DeviceTest.cpp
+++ b/tests/DeviceTest.cpp
@@ -16,12 +16,10 @@
#include "Test.h"
class SkColorSpace;
-#if SK_SUPPORT_GPU
#include "GrContextFactory.h"
#include "GrTypes.h"
#include "SkGpuDevice.h"
class GrContext;
-#endif
class DeviceTestingAccess {
public:
@@ -78,8 +76,6 @@ DEF_TEST(SpecialImage_BitmapDevice, reporter) {
#endif
-#if SK_SUPPORT_GPU
-
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_GPUDevice, reporter, ctxInfo) {
GrContext* context = ctxInfo.grContext();
@@ -131,5 +127,3 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_GPUDevice, reporter, ctxInfo) {
SkASSERT(2*kHeight == special->height());
SkASSERT(SkIRect::MakeWH(2*kWidth, 2*kHeight) == special->subset());
}
-
-#endif