Switched Context::errors() over to a field access
Now that Context owns the errors pointer, there is no magic behind its
accessor and no reason not to just use a straight field access.
Change-Id: I3f771f458ffdaf95d6289ba5767535a78126cc0b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441312
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/codegen/SkSLSPIRVCodeGenerator.h b/src/sksl/codegen/SkSLSPIRVCodeGenerator.h
index a5c4f34..e201e99 100644
--- a/src/sksl/codegen/SkSLSPIRVCodeGenerator.h
+++ b/src/sksl/codegen/SkSLSPIRVCodeGenerator.h
@@ -137,7 +137,7 @@
, fBoolFalse(0)
, fSetupFragPosition(false)
, fCurrentBlock(0)
- , fSynthetics(&fContext.errors(), /*builtin=*/true) {
+ , fSynthetics(fContext.fErrors, /*builtin=*/true) {
this->setupIntrinsics();
}