Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_derived_constraint_space.h

Issue 2242893003: [LayoutNG] Switch NGConstraintSpace to NGLogicalSize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698