Index: gm/dftext.cpp |
diff --git a/gm/dftext.cpp b/gm/dftext.cpp |
index cccca3863d5938049078944796be4e32eb973ea1..78b15989e50ce26067b081d14af0faac52794b63 100644 |
--- a/gm/dftext.cpp |
+++ b/gm/dftext.cpp |
@@ -51,7 +51,7 @@ |
SkImageInfo info = SkImageInfo::MakeN32Premul(onISize()); |
SkSurfaceProps props(SkSurfaceProps::kUseDeviceIndependentFonts_Flag, |
SkSurfaceProps::kLegacyFontHost_InitType); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kNo, |
+ 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 |