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

Unified Diff: src/images/SkJpegUtility.h

Issue 1180983002: Switch SkJpegCode to libjpeg-turbo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Adding turbo to DEPS Created 5 years, 6 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
Index: src/images/SkJpegUtility.h
diff --git a/src/images/SkJpegUtility.h b/src/images/SkJpegUtility.h
index 1a763f843c7473cd1f57957854b7584e20b065d5..d6136f6c266a9dacd34ed1c91ee955673eed395c 100644
--- a/src/images/SkJpegUtility.h
+++ b/src/images/SkJpegUtility.h
@@ -14,7 +14,11 @@
#include "SkStream.h"
extern "C" {
+#ifdef SK_BUILD_FOR_ANDROID
+ #include "manglejpeglib.h"
+#else
#include "jpeglib.h"
+#endif
#include "jerror.h"
}

Powered by Google App Engine
This is Rietveld 408576698