Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 5521b6e305fddf0cc54663f82df30ff712c12aab..e6ea9bd1212021e0397e2325691066797fc22490 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -288,7 +288,8 @@ |
if (GrTexture* tex = pr->getTexture()) { |
SkAutoTUnref<GrTexture> unrefCopy; |
if (!bm.isImmutable()) { |
- tex = GrDeepCopyTexture(tex, SkBudgeted::kNo); |
+ const bool notBudgeted = false; |
+ tex = GrDeepCopyTexture(tex, notBudgeted); |
if (nullptr == tex) { |
return nullptr; |
} |
@@ -296,7 +297,7 @@ |
} |
const SkImageInfo info = bm.info(); |
return new SkImage_Gpu(info.width(), info.height(), bm.getGenerationID(), info.alphaType(), |
- tex, SkBudgeted::kNo); |
+ tex, SkSurface::kNo_Budgeted); |
} |
#endif |