summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2019-08-19 10:48:31 -0400
committerStan Iliev <stani@google.com>2019-08-27 17:39:33 -0400
commitff2c36b7dec33755636c8c26654458aedda9ac27 (patch)
treeefac7dd120676035f1446ca043a1ef7bab54fcca /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0e2113b5fc62455c579602cd3797712b975e295b (diff)
Fix VkFunctorDrawable crash
Fix WebView crash, which is specific for Vulkan pipeline introduced by ag/8550137. VkFunctorDrawable expects SkDrawable::onSnapGpuDrawHandler callback instead of SkDrawable::onDraw. This CL invokes SkCanvas::drawDrawable/SkGpuDevice::drawDrawable, which has the logic to invoke onSnapGpuDrawHandler. Test: Don't crash WebView with Vulkan pipeline, pass CTS Change-Id: Ia98f159511f4ad2dbdbe0d53f0aec2f8c6db263b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions