aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLSwitchCase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLSwitchCase.h')
-rw-r--r--src/sksl/ir/SkSLSwitchCase.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sksl/ir/SkSLSwitchCase.h b/src/sksl/ir/SkSLSwitchCase.h
index b9e52180f3..c33224bdbb 100644
--- a/src/sksl/ir/SkSLSwitchCase.h
+++ b/src/sksl/ir/SkSLSwitchCase.h
@@ -23,16 +23,6 @@ struct SwitchCase : public Statement {
, fValue(std::move(value))
, fStatements(std::move(statements)) {}
- std::unique_ptr<Statement> clone() const override {
- std::vector<std::unique_ptr<Statement>> cloned;
- for (const auto& s : fStatements) {
- cloned.push_back(s->clone());
- }
- return std::unique_ptr<Statement>(new SwitchCase(fOffset,
- fValue ? fValue->clone() : nullptr,
- std::move(cloned)));
- }
-
String description() const override {
String result;
if (fValue) {