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

Unified Diff: src/effects/SkMorphologyImageFilter.cpp

Issue 1911963008: DNC - JSON of flattenables, with field names. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add names to call sites Created 4 years, 8 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: src/effects/SkMorphologyImageFilter.cpp
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
index d5a048c6ce554d6f75939421c9d48b52a2b2c23d..49c30a361f8582bea7d7b96fd8eddf3f1daa0590 100644
--- a/src/effects/SkMorphologyImageFilter.cpp
+++ b/src/effects/SkMorphologyImageFilter.cpp
@@ -61,8 +61,8 @@ SkMorphologyImageFilter::SkMorphologyImageFilter(int radiusX,
void SkMorphologyImageFilter::flatten(SkWriteBuffer& buffer) const {
this->INHERITED::flatten(buffer);
- buffer.writeInt(fRadius.fWidth);
- buffer.writeInt(fRadius.fHeight);
+ buffer.writeInt("radiusWidth", fRadius.fWidth);
+ buffer.writeInt("radiusHeight", fRadius.fHeight);
}
static void call_proc_X(SkMorphologyImageFilter::Proc procX,

Powered by Google App Engine
This is Rietveld 408576698