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

Unified Diff: gm/imagefiltersgraph.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
Index: gm/imagefiltersgraph.cpp
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp
index 4e46869a4ec48fe654cd1f1bab8f2ce13e35c5cd..7213b2802570296d07456347ebe1ff10488c7159 100644
--- a/gm/imagefiltersgraph.cpp
+++ b/gm/imagefiltersgraph.cpp
@@ -58,7 +58,7 @@ public:
protected:
explicit SimpleOffsetFilter(SkFlattenableReadBuffer& buffer)
- : SkImageFilter(buffer) {
+ : SkImageFilter(buffer, SkImageFilter::kOneInput) {
fDX = buffer.readScalar();
fDY = buffer.readScalar();
}

Powered by Google App Engine
This is Rietveld 408576698