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

Unified Diff: include/effects/SkColorMatrixFilter.h

Issue 1533373002: Reland of change all factories to return their base-class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 | « include/effects/SkBlurDrawLooper.h ('k') | include/effects/SkCornerPathEffect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkColorMatrixFilter.h
diff --git a/include/effects/SkColorMatrixFilter.h b/include/effects/SkColorMatrixFilter.h
index bd2b939a434f8abcb09cbe8064827bea5720d622..057e5cc3256a5bf72ecaf02e794e37fa48a6c962 100644
--- a/include/effects/SkColorMatrixFilter.h
+++ b/include/effects/SkColorMatrixFilter.h
@@ -13,10 +13,10 @@
class SK_API SkColorMatrixFilter : public SkColorFilter {
public:
- static SkColorMatrixFilter* Create(const SkColorMatrix& cm) {
+ static SkColorFilter* Create(const SkColorMatrix& cm) {
return new SkColorMatrixFilter(cm);
}
- static SkColorMatrixFilter* Create(const SkScalar array[20]) {
+ static SkColorFilter* Create(const SkScalar array[20]) {
return new SkColorMatrixFilter(array);
}
« no previous file with comments | « include/effects/SkBlurDrawLooper.h ('k') | include/effects/SkCornerPathEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698