Index: ui/gfx/codec/png_codec.cc |
diff --git a/ui/gfx/codec/png_codec.cc b/ui/gfx/codec/png_codec.cc |
index e0dc4c6d5a336f06a73938191bde3824f6802250..4ac54c5a6fff597c821e880ee1669b4de0edfe4f 100644 |
--- a/ui/gfx/codec/png_codec.cc |
+++ b/ui/gfx/codec/png_codec.cc |
@@ -9,19 +9,11 @@ |
#include "base/string_util.h" |
#include "ui/gfx/size.h" |
#include "ui/gfx/skia_util.h" |
+#include "third_party/libpng/png.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "third_party/skia/include/core/SkUnPreMultiply.h" |
#include "third_party/skia/include/core/SkColorPriv.h" |
- |
-extern "C" { |
-#include "third_party/libpng/png.h" |
- |
-#if defined(USE_SYSTEM_ZLIB) |
-#include <zlib.h> |
-#else |
#include "third_party/zlib/zlib.h" |
-#endif |
-} |
namespace gfx { |