aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLFunctionReference.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLFunctionReference.h')
-rw-r--r--src/sksl/ir/SkSLFunctionReference.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLFunctionReference.h b/src/sksl/ir/SkSLFunctionReference.h
index ee761c2639..58831c5e99 100644
--- a/src/sksl/ir/SkSLFunctionReference.h
+++ b/src/sksl/ir/SkSLFunctionReference.h
@@ -19,9 +19,9 @@ namespace SkSL {
* always eventually replaced by FunctionCalls in valid programs.
*/
struct FunctionReference : public Expression {
- FunctionReference(const Context& context, Position position,
+ FunctionReference(const Context& context, int offset,
std::vector<const FunctionDeclaration*> function)
- : INHERITED(position, kFunctionReference_Kind, *context.fInvalid_Type)
+ : INHERITED(offset, kFunctionReference_Kind, *context.fInvalid_Type)
, fFunctions(function) {}
bool hasSideEffects() const override {