| Index: src/core/SkImageCacherator.h
|
| diff --git a/src/core/SkImageCacherator.h b/src/core/SkImageCacherator.h
|
| index 8bf335bf512ad20b754f3b0ba5b0f137c5aa5f1a..64f82cc85defd16d943686a4bdbf8b9486c61227 100644
|
| --- a/src/core/SkImageCacherator.h
|
| +++ b/src/core/SkImageCacherator.h
|
| @@ -92,7 +92,7 @@ private:
|
| struct Validator {
|
| Validator(sk_sp<SharedGenerator>, const SkIRect* subset);
|
|
|
| - operator bool() const { return fSharedGenerator.get(); }
|
| + operator bool() const { return SkToBool(fSharedGenerator.get()); }
|
|
|
| sk_sp<SharedGenerator> fSharedGenerator;
|
| SkImageInfo fInfo;
|
|
|