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

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

Issue 2267383003: [LayoutNG] Introduces NGPhysicalConstraintSpace and makes NGConstraintSpace a "view". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile? 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 7b466188b3a8aafbbe10bfc134b88ce74af0b8c2..c691ad23eefb67ee4706d541621281da9ff4b1ea 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h
@@ -26,6 +26,10 @@ struct NGLogicalOffset {
};
struct NGPhysicalSize {
+ NGPhysicalSize() {}
+ NGPhysicalSize(LayoutUnit width, LayoutUnit height)
+ : width(width), height(height) {}
+
LayoutUnit width;
LayoutUnit height;
};

Powered by Google App Engine
This is Rietveld 408576698