moved SkSL If data into IRNode

Change-Id: Icccc14019ae5c87a09c8439fa1b1ae324b8e32bf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323777
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/SkSLDehydrator.cpp b/src/sksl/SkSLDehydrator.cpp
index e57b52a..679e5ed 100644
--- a/src/sksl/SkSLDehydrator.cpp
+++ b/src/sksl/SkSLDehydrator.cpp
@@ -443,10 +443,10 @@
             case Statement::Kind::kIf: {
                 const IfStatement& i = s->as<IfStatement>();
                 this->writeU8(Rehydrator::kIf_Command);
-                this->writeU8(i.fIsStatic);
-                this->write(i.fTest.get());
-                this->write(i.fIfTrue.get());
-                this->write(i.fIfFalse.get());
+                this->writeU8(i.isStatic());
+                this->write(i.test().get());
+                this->write(i.ifTrue().get());
+                this->write(i.ifFalse().get());
                 break;
             }
             case Statement::Kind::kInlineMarker: {