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