| Index: ui/gfx/skbitmap_operations.cc
|
| diff --git a/ui/gfx/skbitmap_operations.cc b/ui/gfx/skbitmap_operations.cc
|
| index 58815db1d66f3fac0368ba608ee26efb633931bb..10cce9c45b27aaf3061cafddda74f87b28685de7 100644
|
| --- a/ui/gfx/skbitmap_operations.cc
|
| +++ b/ui/gfx/skbitmap_operations.cc
|
| @@ -837,6 +837,7 @@ SkBitmap SkBitmapOperations::Rotate(const SkBitmap& source,
|
| }
|
| result.allocPixels();
|
| SkCanvas canvas(result);
|
| + canvas.clear(SkColorSetARGB(0, 0, 0, 0));
|
|
|
| canvas.translate(SkFloatToScalar(result.width() * 0.5f),
|
| SkFloatToScalar(result.height() * 0.5f));
|
|
|