Clean up some valgrind errors in SkTransparentShader. Valgrind complains
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 May 2011 19:06:10 +0000 (19:06 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 May 2011 19:06:10 +0000 (19:06 +0000)
commite4c98ff48da46c61b73b72301a1811ad1c45a617
treec1086699fa8a98d9723e5631956e9f50f8a70327
parent0251b2fe99bd6f3aa3f459196c382a4b22bfd8b7
Clean up some valgrind errors in SkTransparentShader.  Valgrind complains
about overlapping memcpy().  In fact, it seems that src and dest are the same,
so we should be able to skip the copy in this case.

Review URL:  http://codereview.appspot.com/4535085/

git-svn-id: http://skia.googlecode.com/svn/trunk@1393 2bbb7eff-a529-9590-31e7-b0007b416f81
src/effects/SkTransparentShader.cpp