Index: third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h |
index 44e738344b50a1a96de808010a7872e998d6f619..c11e461350b434e9c9e0f20c396d82a3c63eb24c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h |
@@ -17,8 +17,8 @@ class CORE_EXPORT NGDerivedConstraintSpace final : public NGConstraintSpace { |
public: |
~NGDerivedConstraintSpace(); |
- LayoutUnit offset() const { return offset_; } |
- LayoutUnit size() const { return size_; } |
+ NGLogicalOffset Offset() const { return offset_; } |
+ NGLogicalSize Size() const override { return size_; } |
private: |
NGDerivedConstraintSpace(const NGConstraintSpace* original, |