Fix SkImageFilterCache race
authorFlorin Malita <fmalita@chromium.org>
Thu, 12 Jan 2017 17:06:14 +0000 (12:06 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 12 Jan 2017 17:56:13 +0000 (17:56 +0000)
commita022e2d834254a4c91f8c87d277d5085192f0852
tree8dc38ebc33fab9e134d4293d6f168359da23a58b
parent89a0e72287e991cfa2f860f92fad545ca59defe1
Fix SkImageFilterCache race

BUG=chromium:668937
R=reed@google.com,robertphillips@google.com

Change-Id: I72ceaf1d88946c277a38f32014640e01ae9cbded
Reviewed-on: https://skia-review.googlesource.com/6954
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
src/core/SkImageFilter.cpp
src/core/SkImageFilterCache.cpp
src/core/SkImageFilterCache.h
tests/ImageFilterCacheTest.cpp