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

Unified Diff: samplecode/SampleFilterFuzz.cpp

Issue 138063005: Serialization of SkPictureImageFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 11 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: samplecode/SampleFilterFuzz.cpp
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp
index 8fa147aca4d9fd6e42756cee2f033521f8981ae6..ccb65a503c63c3ab9297dbf70fcf2be7292bf34a 100644
--- a/samplecode/SampleFilterFuzz.cpp
+++ b/samplecode/SampleFilterFuzz.cpp
@@ -259,7 +259,7 @@ static SkImageFilter* make_image_filter(bool canBeNull = true) {
R(static_cast<float>(kBitmapSize)), make_image_filter());
break;
case BITMAP:
- filter = new SkBitmapSource(make_bitmap());
+ filter = new SkBitmapSource(make_bitmap(), make_rect(), make_rect());
Stephen White 2014/01/15 14:59:02 This should probably be landed separately from thi
sugoi 2014/01/15 16:49:22 Done. (see https://codereview.chromium.org/1396130
break;
case DISPLACE:
filter = new SkDisplacementMapEffect(make_channel_selector_type(),
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPicture.cpp » ('j') | src/core/SkPicture.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698