Index: src/sksl/ir/SkSLExpression.h |
diff --git a/src/sksl/ir/SkSLExpression.h b/src/sksl/ir/SkSLExpression.h |
index 1e42c7a4755e02cb42c9f2456d4fd9bfee44c39c..92cb37de776bb4c3424d5b7ff8842da85bc8c223 100644 |
--- a/src/sksl/ir/SkSLExpression.h |
+++ b/src/sksl/ir/SkSLExpression.h |
@@ -35,7 +35,7 @@ struct Expression : public IRNode { |
kTypeReference_Kind, |
}; |
- Expression(Position position, Kind kind, std::shared_ptr<Type> type) |
+ Expression(Position position, Kind kind, const Type& type) |
: INHERITED(position) |
, fKind(kind) |
, fType(std::move(type)) {} |
@@ -45,7 +45,7 @@ struct Expression : public IRNode { |
} |
const Kind fKind; |
- const std::shared_ptr<Type> fType; |
+ const Type& fType; |
typedef IRNode INHERITED; |
}; |