DescriptionThe Android perf tests are crashing (https://code.google.com/p/chromium/issues/detail?id=282418) when rendering pinterest on a Galaxy Nexus after r10936 (Blur refactoring - https://codereview.chromium.org/21835004/). I was not able to reproduce the exact crash they were seeing but did find one that may be the same one.
In the bug I found, zooming out on the pinterest page eventually causes the filterRectMask/BlurRect code to yield a 2x1 smallR[0]. The downstream 9-patch code doesn't deal with this properly and accesses invalid memory.
I tried fixing this by rounding out the destination in BlurRect (since the src rect was being rounded out the dest rect's round was causing the dest rect to be smaller then the src rect). That did "fix" the crash but negatively impacted the GM images.
I'm not claiming this fix is right but it does stop the bleeding.
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|