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