diff --git a/src/sksl/ir/SkSLBinaryExpression.h b/src/sksl/ir/SkSLBinaryExpression.h index 73b8ce3438..1a0c1a63b6 100644 --- a/src/sksl/ir/SkSLBinaryExpression.h +++ b/src/sksl/ir/SkSLBinaryExpression.h @@ -19,7 +19,7 @@ namespace SkSL { -static bool check_ref(Expression* expr) { +static inline bool check_ref(Expression* expr) { switch (expr->fKind) { case Expression::kExternalValue_Kind: return true;