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

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

Issue 2266313002: [layoutng] Create a more correct constraint space for children (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_units.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.h b/third_party/WebKit/Source/core/layout/ng/ng_units.h
index 8a5582632ab5bdc3bf8d3a2ae18e179776f53bba..73417920b6c5809232ce234625d147015d4ae7a3 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h
@@ -12,6 +12,10 @@ namespace blink {
class LayoutUnit;
struct NGLogicalSize {
+ NGLogicalSize() {}
+ NGLogicalSize(LayoutUnit inlineSize, LayoutUnit blockSize)
+ : inlineSize(inlineSize), blockSize(blockSize) {}
+
LayoutUnit inlineSize;
LayoutUnit blockSize;
};

Powered by Google App Engine
This is Rietveld 408576698