Index: tests/GpuBitmapCopyTest.cpp |
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp |
index 08ceff23fbe27ecec604b6a84e12bae7f267574c..d5485bbe35d980ffe4b130f2409c8ae12ea79257 100644 |
--- a/tests/GpuBitmapCopyTest.cpp |
+++ b/tests/GpuBitmapCopyTest.cpp |
@@ -161,6 +161,7 @@ DEF_GPUTEST(GpuBitmapCopy, reporter, factory) { |
// Extract a subset. If this succeeds we will test copying the subset. |
SkBitmap subset; |
+#ifdef SK_SUPPORT_DEEPCOPYTO_CONFIG |
const bool extracted = src.extractSubset(&subset, subsetRect); |
for (size_t j = 0; j < SK_ARRAY_COUNT(gPairs); j++) { |
@@ -228,6 +229,7 @@ DEF_GPUTEST(GpuBitmapCopy, reporter, factory) { |
true); |
} |
} // for (size_t j = ... |
+#endif |
} // for (size_t i = ... |
} // GrContextFactory::GLContextType |
} |