Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index 98cea1c9a8c21ca0480461fc84f977fee7fc3ad2..a227fd2c0f5ad81ece6dda893a43aa621310cd75 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -119,7 +119,7 @@ |
SkASSERT(key.isValid()); |
// Wrapped and uncached resources can never have a unique key. |
- if (SkBudgeted::kNo == this->resourcePriv().isBudgeted()) { |
+ if (!this->resourcePriv().isBudgeted()) { |
return; |
} |