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

Unified Diff: third_party/libpng/0001-disable-arm-neon.patch

Issue 1591483003: XFA: Upgrade libpng to 1.6.20. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 4 years, 11 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 | « third_party/libpng/0000-build-config.patch ('k') | third_party/libpng/README.pdfium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/0001-disable-arm-neon.patch
diff --git a/third_party/libpng/0001-disable-arm-neon.patch b/third_party/libpng/0001-disable-arm-neon.patch
new file mode 100644
index 0000000000000000000000000000000000000000..b5105f755fd20e6596612947df09157433d8f3db
--- /dev/null
+++ b/third_party/libpng/0001-disable-arm-neon.patch
@@ -0,0 +1,12 @@
+diff a/third_party/libpng/pngpriv.h b/third_party/libpng/pngpriv.h
+--- a/third_party/libpng/pngpriv.h
++++ b/third_party/libpng/pngpriv.h
+@@ -127,7 +127,7 @@
+ */
+ # if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
+ defined(PNG_ALIGNED_MEMORY_SUPPORTED)
+-# define PNG_ARM_NEON_OPT 2
++# define PNG_ARM_NEON_OPT 0
+ # else
+ # define PNG_ARM_NEON_OPT 0
+ # endif
« no previous file with comments | « third_party/libpng/0000-build-config.patch ('k') | third_party/libpng/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698