Speculative fix for flaky webp encode/decode on Nexus 5
authorMatt Sarett <msarett@google.com>
Wed, 26 Oct 2016 21:39:54 +0000 (17:39 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 26 Oct 2016 22:03:10 +0000 (22:03 +0000)
commit18a11a6f374fe430c8736c53ff4f8bc3c72cd54b
tree59a34d91320f71d6d1c83808e4bee00194d28ee9
parentcfc4f44aebdd560c600991ad900a4f07c3958c8f
Speculative fix for flaky webp encode/decode on Nexus 5

I'm not really expecting this to work anymore...

The docs don't say anything about the rgb pointer needing
to stay valid, and it looks like we are done with it
after the call to import.

Still, worth a try I think.

BUG=skia:5876

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4024

Change-Id: I6e65ef96a2b661b01eb92bedab0acd73ed4f6218
Reviewed-on: https://skia-review.googlesource.com/4024
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
src/images/SkWEBPImageEncoder.cpp