Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: src/core/SkImageCacherator.h

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkGpuBlurUtils.cpp ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/core/SkGpuBlurUtils.cpp ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698