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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2262973002: Switch override containing block sizes to use LayoutRareData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a bool 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 716f653d181f5abc3f10378c8bdccb57ff69cccd..e7f65574f7b683aca87b3b4791273731a7d6a965 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -61,8 +61,10 @@ struct LayoutBoxRareData {
public:
LayoutBoxRareData()
: m_spannerPlaceholder(nullptr)
- , m_overrideLogicalContentHeight(-1)
, m_overrideLogicalContentWidth(-1)
+ , m_overrideLogicalContentHeight(-1)
+ , m_hasOverrideContainingBlockContentLogicalWidth(false)
+ , m_hasOverrideContainingBlockContentLogicalHeight(false)
, m_percentHeightContainer(nullptr)
, m_snapContainer(nullptr)
, m_snapAreas(nullptr)
@@ -72,8 +74,13 @@ public:
// For spanners, the spanner placeholder that lays us out within the multicol container.
LayoutMultiColumnSpannerPlaceholder* m_spannerPlaceholder;
- LayoutUnit m_overrideLogicalContentHeight;
LayoutUnit m_overrideLogicalContentWidth;
+ LayoutUnit m_overrideLogicalContentHeight;
+
+ bool m_hasOverrideContainingBlockContentLogicalWidth;
+ bool m_hasOverrideContainingBlockContentLogicalHeight;
+ LayoutUnit m_overrideContainingBlockContentLogicalWidth;
+ LayoutUnit m_overrideContainingBlockContentLogicalHeight;
LayoutUnit m_pageLogicalOffset;
LayoutUnit m_paginationStrut;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698