moved SkSL Setting data into IRNode and fixed its dehydration/rehydration

Change-Id: Ide129334989890961a46681129672682cf826915
Bug: skia:10819
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323978
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLDehydrator.cpp b/src/sksl/SkSLDehydrator.cpp
index df450b5..3896526 100644
--- a/src/sksl/SkSLDehydrator.cpp
+++ b/src/sksl/SkSLDehydrator.cpp
@@ -353,8 +353,8 @@
             case Expression::Kind::kSetting: {
                 const Setting& s = e->as<Setting>();
                 this->writeU8(Rehydrator::kSetting_Command);
-                this->write(s.fName);
-                this->write(s.fValue.get());
+                this->write(s.name());
+                this->write(s.type());
                 break;
             }
             case Expression::Kind::kSwizzle: {