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

Unified Diff: tests/FlateTest.cpp

Issue 936583002: SK_NO_FLATE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: no source Created 5 years, 10 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
« gyp/common_conditions.gypi ('K') | « src/core/SkFlate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FlateTest.cpp
diff --git a/tests/FlateTest.cpp b/tests/FlateTest.cpp
index 9f6a5b5f432c7ecc8bdd9cb9db1af79d54060eed..8ad4d50376e86ca9d6a8e72f00288e04fb84ae61 100644
--- a/tests/FlateTest.cpp
+++ b/tests/FlateTest.cpp
@@ -104,7 +104,7 @@ static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream,
}
DEF_TEST(Flate, reporter) {
-#ifdef SK_HAS_ZLIB
+#ifndef SK_NO_FLATE
REPORTER_ASSERT(reporter, SkFlate::HaveFlate());
#endif
if (SkFlate::HaveFlate()) {
« gyp/common_conditions.gypi ('K') | « src/core/SkFlate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698