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

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

Issue 2568743005: Place the out of flow positioned blocks (Closed)
Patch Set: skip failing tests Created 3 years, 11 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 6c768d7916b05a5f7799712020bc1155250ed21e..63bd0b37175a569d88d98a42e5479cdf1c1e5a96 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.h
@@ -105,6 +105,8 @@ struct NGPhysicalOffset {
NGPhysicalOffset operator+(const NGPhysicalOffset& other) const;
NGPhysicalOffset& operator+=(const NGPhysicalOffset& other);
+ NGPhysicalOffset operator-(const NGPhysicalOffset& other) const;
+ NGPhysicalOffset& operator-=(const NGPhysicalOffset& other);
};
struct NGPhysicalSize {
@@ -310,7 +312,6 @@ struct CORE_EXPORT NGStaticPosition {
static NGStaticPosition Create(NGWritingMode,
TextDirection,
NGPhysicalOffset);
-
// Left/Right/TopPosition functions map static position to
// left/right/top edge wrt container space.
// The function arguments are required to solve the equation:

Powered by Google App Engine
This is Rietveld 408576698