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

Unified Diff: src/codec/SkCodec_libpng.h

Issue 1050183002: Revert of Enable both static and dynamically linked libpng (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « gyp/libpng.gyp ('k') | src/images/SkImageDecoder_libpng.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkCodec_libpng.h
diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h
index d25157c7a8227104f66ec57722a0a320c2333157..3afaa39bf4f4d84917bf9b3eb7fabaddda6991af 100644
--- a/src/codec/SkCodec_libpng.h
+++ b/src/codec/SkCodec_libpng.h
@@ -12,11 +12,9 @@
#include "SkRefCnt.h"
#include "SkSwizzler.h"
-#ifdef SKIA_PNG_PREFIXED
- // this must proceed png.h
- #include "pngprefix.h"
-#endif
-#include "png.h"
+extern "C" {
+ #include "png.h"
+}
class SkScanlineDecoder;
class SkStream;
« no previous file with comments | « gyp/libpng.gyp ('k') | src/images/SkImageDecoder_libpng.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698