| Index: gm/dftext.cpp
|
| diff --git a/gm/dftext.cpp b/gm/dftext.cpp
|
| index 36b8d5501c67bcac4d67807e7331143681e194cc..8ac36cce4cea06ec6ce1a0b97a095846becb5ad7 100755
|
| --- a/gm/dftext.cpp
|
| +++ b/gm/dftext.cpp
|
| @@ -68,7 +68,8 @@ protected:
|
| SkImageInfo info = SkImageInfo::MakeN32Premul(onISize());
|
| SkSurfaceProps props(SkSurfaceProps::kUseDistanceFieldFonts_Flag,
|
| SkSurfaceProps::kLegacyFontHost_InitType);
|
| - SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, info, 0, &props));
|
| + SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkSurface::kNo_Budgeted,
|
| + info, 0, &props));
|
| SkCanvas* canvas = surface.get() ? surface->getCanvas() : inputCanvas;
|
| // init our new canvas with the old canvas's matrix
|
| canvas->setMatrix(inputCanvas->getTotalMatrix());
|
|
|