Index: src/gpu/GrGpuResourceCacheAccess.h |
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h |
index 8c272420a7180dfe0c0f8f65d2086d89a6cefdb5..70fe08503eafb50990502a894e6775ca2451800d 100644 |
--- a/src/gpu/GrGpuResourceCacheAccess.h |
+++ b/src/gpu/GrGpuResourceCacheAccess.h |
@@ -27,7 +27,7 @@ private: |
*/ |
bool isScratch() const { |
return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && |
- fResource->resourcePriv().isBudgeted(); |
+ SkBudgeted::kYes == fResource->resourcePriv().isBudgeted(); |
} |
/** |