Revert "Revert "Switch to the new SkSL lexer.""
This reverts commit 358515491a0d6891e6a709688a30ad087df1beb1.
Bug: skia:
Change-Id: I013fac0ed83774d8ae7c6ee6819045cab37f5e97
Reviewed-on: https://skia-review.googlesource.com/45180
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/ast/SkSLASTBoolLiteral.h b/src/sksl/ast/SkSLASTBoolLiteral.h
index 48e916e..6782d36 100644
--- a/src/sksl/ast/SkSLASTBoolLiteral.h
+++ b/src/sksl/ast/SkSLASTBoolLiteral.h
@@ -16,8 +16,8 @@
* Represents "true" or "false".
*/
struct ASTBoolLiteral : public ASTExpression {
- ASTBoolLiteral(Position position, bool value)
- : INHERITED(position, kBool_Kind)
+ ASTBoolLiteral(int offset, bool value)
+ : INHERITED(offset, kBool_Kind)
, fValue(value) {}
String description() const override {