| Index: dm/DMUtil.cpp
|
| diff --git a/dm/DMUtil.cpp b/dm/DMUtil.cpp
|
| index 9a4765abb09d15cbad420e1c280d1c17fd0f1e1b..75046a3ea94ac71fa02cb3ce651feb77d7d288f7 100644
|
| --- a/dm/DMUtil.cpp
|
| +++ b/dm/DMUtil.cpp
|
| @@ -34,6 +34,10 @@ void SetupBitmap(const SkColorType ct, SkBenchmark* bench, SkBitmap* bitmap) {
|
| setup_bitmap(ct, bench->getSize().x(), bench->getSize().y(), bitmap);
|
| }
|
|
|
| +void SetupBitmap(const SkColorType ct, const SkPicture& pic, SkBitmap* bitmap) {
|
| + setup_bitmap(ct, pic.width(), pic.height(), bitmap);
|
| +}
|
| +
|
| void DrawPicture(SkPicture* picture, SkBitmap* bitmap) {
|
| SkASSERT(picture != NULL);
|
| SkASSERT(bitmap != NULL);
|
|
|