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

Unified Diff: include/effects/SkImageSource.h

Issue 1823573003: Change signatures of filter bounds methods to return a rect. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Hide legacy API behind #ifdef; switch callers to new API Created 4 years, 9 months 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
Index: include/effects/SkImageSource.h
diff --git a/include/effects/SkImageSource.h b/include/effects/SkImageSource.h
index 084028d6cbd233dec847ebf413a8ffb8e7181a4e..293a052f6ead21d2cc7e789efa4272fff9cb0182 100644
--- a/include/effects/SkImageSource.h
+++ b/include/effects/SkImageSource.h
@@ -20,7 +20,7 @@ public:
const SkRect& dstRect,
SkFilterQuality);
- void computeFastBounds(const SkRect& src, SkRect* dst) const override;
+ SkRect computeFastBounds(const SkRect& src) const override;
SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkImageSource)

Powered by Google App Engine
This is Rietveld 408576698