Index: src/gpu/GrGpuResourcePriv.h |
diff --git a/src/gpu/GrGpuResourcePriv.h b/src/gpu/GrGpuResourcePriv.h |
index 5324dccc22ad2842d76dbda15df381cadc54022e..62dc85059a1668f20050d155168e4af18711cd1a 100644 |
--- a/src/gpu/GrGpuResourcePriv.h |
+++ b/src/gpu/GrGpuResourcePriv.h |
@@ -44,10 +44,10 @@ public: |
/** |
* Does the resource count against the resource budget? |
*/ |
- bool isBudgeted() const { |
+ SkBudgeted isBudgeted() const { |
bool ret = GrGpuResource::kCached_LifeCycle == fResource->fLifeCycle; |
SkASSERT(ret || !fResource->getUniqueKey().isValid()); |
- return ret; |
+ return SkBudgeted(ret); |
} |
/** |