| Index: src/sksl/ir/SkSLFloatLiteral.h
|
| diff --git a/src/sksl/ir/SkSLFloatLiteral.h b/src/sksl/ir/SkSLFloatLiteral.h
|
| index deb5b2714418ff343bebff362b095d5747665afa..d9c8b6538a4d2d57d5d3fcaa025ef34c02d55fad 100644
|
| --- a/src/sksl/ir/SkSLFloatLiteral.h
|
| +++ b/src/sksl/ir/SkSLFloatLiteral.h
|
| @@ -8,6 +8,7 @@
|
| #ifndef SKSL_FLOATLITERAL
|
| #define SKSL_FLOATLITERAL
|
|
|
| +#include "SkSLContext.h"
|
| #include "SkSLExpression.h"
|
|
|
| namespace SkSL {
|
| @@ -16,8 +17,8 @@ namespace SkSL {
|
| * A literal floating point number.
|
| */
|
| struct FloatLiteral : public Expression {
|
| - FloatLiteral(Position position, double value)
|
| - : INHERITED(position, kFloatLiteral_Kind, kFloat_Type)
|
| + FloatLiteral(const Context& context, Position position, double value)
|
| + : INHERITED(position, kFloatLiteral_Kind, *context.fFloat_Type)
|
| , fValue(value) {}
|
|
|
| virtual std::string description() const override {
|
|
|