| Index: src/gpu/GrResourceCache.h
|
| diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h
|
| index 460387f5f878a5404f7498c90c151a58a446aa6c..83337805a42f1c3a021f9ff61f4276b3cfe32316 100644
|
| --- a/src/gpu/GrResourceCache.h
|
| +++ b/src/gpu/GrResourceCache.h
|
| @@ -181,7 +181,7 @@ public:
|
| * Determines if the cache contains an entry matching a key. If a matching
|
| * entry exists but was detached then it will not be found.
|
| */
|
| - bool hasKey(const GrResourceKey& key) const { return NULL != fCache.find(key); }
|
| + bool hasKey(const GrResourceKey& key) const { return SkToBool(fCache.find(key)); }
|
|
|
| /**
|
| * Hide 'entry' so that future searches will not find it. Such
|
|
|