aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLInterfaceBlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLInterfaceBlock.h')
-rw-r--r--src/sksl/ir/SkSLInterfaceBlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLInterfaceBlock.h b/src/sksl/ir/SkSLInterfaceBlock.h
index a28a6a1b54..03986b87cd 100644
--- a/src/sksl/ir/SkSLInterfaceBlock.h
+++ b/src/sksl/ir/SkSLInterfaceBlock.h
@@ -25,10 +25,10 @@ namespace SkSL {
* At the IR level, this is represented by a single variable of struct type.
*/
struct InterfaceBlock : public ProgramElement {
- InterfaceBlock(Position position, const Variable* var, String typeName, String instanceName,
+ InterfaceBlock(int offset, const Variable* var, String typeName, String instanceName,
std::vector<std::unique_ptr<Expression>> sizes,
std::shared_ptr<SymbolTable> typeOwner)
- : INHERITED(position, kInterfaceBlock_Kind)
+ : INHERITED(offset, kInterfaceBlock_Kind)
, fVariable(*var)
, fTypeName(std::move(typeName))
, fInstanceName(std::move(instanceName))