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

Unified Diff: gm/dcshader.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: gm/dcshader.cpp
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp
index e402fc0c2b7ee69ea62749a2806b9383e5ee1d80..43df8ff2036f8c2bff0a09d38985995238e93398 100644
--- a/gm/dcshader.cpp
+++ b/gm/dcshader.cpp
@@ -32,7 +32,7 @@ public:
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(DCShader);
void flatten(SkWriteBuffer& buf) const override {
- buf.writeMatrix(fDeviceMatrix);
+ buf.writeMatrix("fDeviceMatrix", fDeviceMatrix);
}
const GrFragmentProcessor* asFragmentProcessor(GrContext*,

Powered by Google App Engine
This is Rietveld 408576698