| Index: src/core/SkPictureImageGenerator.cpp
|
| diff --git a/src/core/SkPictureImageGenerator.cpp b/src/core/SkPictureImageGenerator.cpp
|
| index db192a36e227e139828ea6c30848077c914707e1..398c6eb5dfc77953b84451034d958b85f69c4a16 100644
|
| --- a/src/core/SkPictureImageGenerator.cpp
|
| +++ b/src/core/SkPictureImageGenerator.cpp
|
| @@ -138,7 +138,8 @@
|
| //
|
| // TODO: respect the usage, by possibly creating a different (pow2) surface
|
| //
|
| - SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kYes,
|
| + SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx,
|
| + SkSurface::kYes_Budgeted,
|
| surfaceInfo));
|
| if (!surface.get()) {
|
| return nullptr;
|
|
|