aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTCallSuffix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTCallSuffix.h')
-rw-r--r--src/sksl/ast/SkSLASTCallSuffix.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sksl/ast/SkSLASTCallSuffix.h b/src/sksl/ast/SkSLASTCallSuffix.h
index 5cff6f6c93..356ac850f9 100644
--- a/src/sksl/ast/SkSLASTCallSuffix.h
+++ b/src/sksl/ast/SkSLASTCallSuffix.h
@@ -8,7 +8,6 @@
#ifndef SKSL_ASTCALLSUFFIX
#define SKSL_ASTCALLSUFFIX
-#include <sstream>
#include <vector>
#include "SkSLASTSuffix.h"
@@ -22,9 +21,9 @@ struct ASTCallSuffix : public ASTSuffix {
: INHERITED(position, ASTSuffix::kCall_Kind)
, fArguments(std::move(arguments)) {}
- std::string description() const override {
- std::string result("(");
- std::string separator = "";
+ SkString description() const override {
+ SkString result("(");
+ SkString separator;
for (size_t i = 0; i < fArguments.size(); ++i) {
result += separator;
separator = ", ";