| Index: src/gpu/GrGpuResource.cpp
|
| diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp
|
| index 87c7349246aca003fb8cc86985e74d2a304e325d..d4728452fb1c8ac634ef79011a564dcbcbb38a02 100644
|
| --- a/src/gpu/GrGpuResource.cpp
|
| +++ b/src/gpu/GrGpuResource.cpp
|
| @@ -80,10 +80,9 @@ GrContext* GrGpuResource::getContext() {
|
| }
|
|
|
| bool GrGpuResource::setContentKey(const GrResourceKey& contentKey) {
|
| - SkASSERT(!contentKey.isScratch());
|
| // Currently this can only be called once and can't be called when the resource is scratch.
|
| + SkASSERT(!contentKey.isScratch());
|
| SkASSERT(this->internalHasRef());
|
| - SkASSERT(!this->internalHasPendingIO());
|
|
|
| if (fContentKeySet) {
|
| return false;
|
|
|