aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLFloatLiteral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLFloatLiteral.h')
-rw-r--r--src/sksl/ir/SkSLFloatLiteral.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLFloatLiteral.h b/src/sksl/ir/SkSLFloatLiteral.h
index 21a485fb0a..e6a3062f36 100644
--- a/src/sksl/ir/SkSLFloatLiteral.h
+++ b/src/sksl/ir/SkSLFloatLiteral.h
@@ -17,9 +17,9 @@ namespace SkSL {
* A literal floating point number.
*/
struct FloatLiteral : public Expression {
- FloatLiteral(const Context& context, Position position, double value,
+ FloatLiteral(const Context& context, int offset, double value,
const Type* type = nullptr)
- : INHERITED(position, kFloatLiteral_Kind, type ? *type : *context.fFloat_Type)
+ : INHERITED(offset, kFloatLiteral_Kind, type ? *type : *context.fFloat_Type)
, fValue(value) {}
String description() const override {