summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2017-12-04 11:37:30 -0500
committerLeon Scroggins III <scroggo@google.com>2017-12-04 11:37:30 -0500
commit471ef097cc85de24bea28dc5fbec5aec18532317 (patch)
tree1cf2fb39a8bd312969dca0007f6007dcfa52874e /tools/aapt2/java/JavaClassGenerator.cpp
parentc51777b9b87d6b9f12f80cc998c30f6dea8de7d0 (diff)
Stop using skjpeg_error_mgr in YuvToJpegEncoder
Bug: None Test: compile skjpeg_error_mgr is only different from the standard one in that it includes a jmp_buf. A recent change to skjpeg_error_mgr stores a stack of jmp_bufs (see https://skia-review.googlesource.com/c/skia/+/79241). This complexity is unnecessary for YuvToJpegEncoder, which only contains a single method with libjpeg calls (which might call longjmp). Simplify this code by placing the jmp_buf on the stack. This fixes the Skia to Android roll, which includes the above Skia change. Change-Id: If9a33ed10ea60131906a632a7030e0b69a21f4ea
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions