Simplify logic in DSLWriter::Var.
The code which computed a `baseType` was effectively dead; the
result was never used.
Saving off a variable pointer wasn't necessary; we can retrieve it
back from the VarDeclaration after conversion.
Change-Id: I0dab16ac214401ecd35adbd9c41c4d35f1c15714
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/698236
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
1 file changed