| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index 73a01b20982509b74fc55fd0bc12ba3dfe5bca24..b28c444edc37d76118127c19d3fc6b68e4ce46f2 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -1098,7 +1098,7 @@ public:
|
| // lets go of the ref and the ref count goes to 0 internal_dispose will see this flag is
|
| // set and re-ref the texture, thereby restoring the cache's ref.
|
| SkASSERT(texture->getRefCnt() > 1);
|
| - texture->setFlag((GrTextureFlags) GrTexture::kReturnToCache_FlagBit);
|
| + texture->impl()->setFlag((GrTextureFlags) GrTextureImpl::kReturnToCache_FlagBit);
|
| texture->unref();
|
| SkASSERT(NULL != texture->getCacheEntry());
|
|
|
|
|