Commit 20f81a06 authored by Vlad Tsyrklevich's avatar Vlad Tsyrklevich Committed by Commit Bot

Only disable cfi-icall when use_system_libjpeg=true

Bug: 866290
Change-Id: Ic5d175b3b854665f50781650406d599d09ee9849
Reviewed-on: https://chromium-review.googlesource.com/1157136Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579614}
parent b22d69f4
......@@ -643,7 +643,10 @@ class JPEGImageReader final {
IntSize UvSize() const { return uv_size_; }
private:
NO_SANITIZE_CFI_ICALL JSAMPARRAY AllocateSampleArray() {
#if defined(USE_SYSTEM_LIBJPEG)
NO_SANITIZE_CFI_ICALL
#endif
JSAMPARRAY AllocateSampleArray() {
// Some output color spaces don't need the sample array: don't allocate in that
// case.
#if defined(TURBO_JPEG_RGB_SWIZZLE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment