Trying to add the same scaled image twice shouldn't assert.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Nov 2013 20:22:23 +0000 (20:22 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Nov 2013 20:22:23 +0000 (20:22 +0000)
commit23d2cf9b072e75ef37e8eec466b811a9e2da643d
treea29d2cc917c833272056676fea7c08ee84658ba7
parenta50418f65e857ff05b3a71d3e03db44c1f232977
Trying to add the same scaled image twice shouldn't assert.

This unbreaks bench_pictures --multi foo for me.

BUG=skia:1868
R=reed@google.com

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/89293002

git-svn-id: http://skia.googlecode.com/svn/trunk@12422 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkScaledImageCache.cpp
src/core/SkScaledImageCache.h
tests/ImageCacheTest.cpp