diff options
Diffstat (limited to 'src/sksl/ir/SkSLFieldAccess.h')
-rw-r--r-- | src/sksl/ir/SkSLFieldAccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLFieldAccess.h b/src/sksl/ir/SkSLFieldAccess.h index 4be4e9e84c..fb727e017e 100644 --- a/src/sksl/ir/SkSLFieldAccess.h +++ b/src/sksl/ir/SkSLFieldAccess.h @@ -31,7 +31,7 @@ struct FieldAccess : public Expression { , fFieldIndex(fieldIndex) , fOwnerKind(ownerKind) {} - virtual std::string description() const override { + virtual SkString description() const override { return fBase->description() + "." + fBase->fType.fields()[fFieldIndex].fName; } |