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

Unified Diff: src/core/SkFlate.h

Issue 933523007: zlib/pdf: remove HaveFlate(), depend on preprocessor defines (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-02-17 (Tuesday) 17:35:15 EST 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
« no previous file with comments | « gyp/skflate.gyp ('k') | src/core/SkFlate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkFlate.h
diff --git a/src/core/SkFlate.h b/src/core/SkFlate.h
index e4c1417d910d4d8c75f7a7f7aa42dc1fd8fc41e8..69dac018de6e93733a980cfc098b77a7ca5e1c2d 100644
--- a/src/core/SkFlate.h
+++ b/src/core/SkFlate.h
@@ -12,6 +12,8 @@
#include "SkTypes.h"
+#ifndef Sk_NO_FLATE
+
class SkData;
class SkWStream;
class SkStream;
@@ -21,10 +23,6 @@ class SkStream;
*/
class SkFlate {
public:
- /** Indicates if the flate algorithm is available.
- */
- static bool HaveFlate();
-
/**
* Use the flate compression algorithm to compress the data in src,
* putting the result into dst. Returns false if an error occurs.
@@ -49,4 +47,5 @@ public:
static bool Inflate(SkStream* src, SkWStream* dst);
};
-#endif
+#endif // SK_NO_FLATE
+#endif // SkFlate_DEFINED
« no previous file with comments | « gyp/skflate.gyp ('k') | src/core/SkFlate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698