Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@10634 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-08-08 07:01:20 +00:00
parent d2623a1a0b
commit d55e357a8e
3 changed files with 2 additions and 3 deletions

View File

@ -68,7 +68,7 @@ protected:
SkDevice devTmp(SkBitmap::kARGB_8888_Config, 40, 40);
SkCanvas canvasTmp(&devTmp);
draw_checks(&canvasTmp, 40, 40);
SkBitmap src = canvasTmp.getTopDevice()->accessBitmap(false);

View File

@ -133,7 +133,7 @@ protected:
scale.postTranslate(25.f, 25.f);
shader->setLocalMatrix(scale);
}
paint.setShader(shader);
canvas->drawRect(r, paint);
shader->unref();

View File

@ -60,4 +60,3 @@ bool SkDropShadowImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& source
*result = device->accessBitmap(false);
return true;
}