aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLModifiersDeclaration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLModifiersDeclaration.h')
-rw-r--r--src/sksl/ir/SkSLModifiersDeclaration.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sksl/ir/SkSLModifiersDeclaration.h b/src/sksl/ir/SkSLModifiersDeclaration.h
index 1f31926a30..5c9608f02f 100644
--- a/src/sksl/ir/SkSLModifiersDeclaration.h
+++ b/src/sksl/ir/SkSLModifiersDeclaration.h
@@ -23,11 +23,7 @@ struct ModifiersDeclaration : public ProgramElement {
: INHERITED(-1, kModifiers_Kind)
, fModifiers(modifiers) {}
- std::unique_ptr<ProgramElement> clone() const override {
- return std::unique_ptr<ProgramElement>(new ModifiersDeclaration(fModifiers));
- }
-
- String description() const override {
+ String description() const {
return fModifiers.description() + ";";
}