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