Copy src in SkDrawLooper::computeFastBounds().
authormtklein <mtklein@chromium.org>
Wed, 3 Dec 2014 19:08:47 +0000 (11:08 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Dec 2014 19:08:47 +0000 (11:08 -0800)
commit96a6c4df417a2382dd183b0dbc1c614819795f2a
tree4419b5def582eaeb7923625708ab486b006c70e8
parent85a5750ffa71bf595d5e70e14b233d708be24ee9
Copy src in SkDrawLooper::computeFastBounds().

We do alias src and dst when building the BBH.  This meant we calculated
the wrong bounds in LayoutTests/ietestcenter/css3/text/textshadow-010.htm.

Not sure how best to test this inside Skia.  It may become moot after I
work through the API changes we were talking about today, but if not I'll
make sure it's tested somehow before I'm done with SkDrawLoopers.

BUG=skia:3186

Review URL: https://codereview.chromium.org/760023004
src/core/SkDrawLooper.cpp