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

Unified Diff: gm/imagefiltersbase.cpp

Issue 83343003: Adding more validation (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Attempting to upload yet again Created 7 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 | « no previous file | gm/imagefiltersgraph.cpp » ('j') | src/effects/SkBitmapSource.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefiltersbase.cpp
diff --git a/gm/imagefiltersbase.cpp b/gm/imagefiltersbase.cpp
index 2c8fceb1461ed9dcae892dfe9da9523412c87a94..d237de39509a11f335fc7a2d4a4113c4f2cd3940 100644
--- a/gm/imagefiltersbase.cpp
+++ b/gm/imagefiltersbase.cpp
@@ -27,7 +27,8 @@ protected:
return false;
}
- FailImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
+ FailImageFilter(SkFlattenableReadBuffer& buffer)
+ : INHERITED(buffer, SkImageFilter::kOneInput) {}
private:
typedef SkImageFilter INHERITED;
@@ -50,7 +51,8 @@ protected:
return true;
}
- IdentityImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
+ IdentityImageFilter(SkFlattenableReadBuffer& buffer)
+ : INHERITED(buffer, SkImageFilter::kOneInput) {}
private:
typedef SkImageFilter INHERITED;
« no previous file with comments | « no previous file | gm/imagefiltersgraph.cpp » ('j') | src/effects/SkBitmapSource.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698