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

Unified Diff: third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp

Issue 2214483002: [LayoutNG] Change size members on NGConstraintSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove out of date comment. 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 | « third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp
diff --git a/third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp b/third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp
index 0904a4de46052763265fdf4ce47d3b9999454af5..3146c5cf05e3e18465f5dce6c79260e33b5f895a 100644
--- a/third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp
+++ b/third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.cpp
@@ -6,13 +6,13 @@
namespace blink {
-NGConstraintSpace::NGConstraintSpace(LayoutUnit inlineSize,
- LayoutUnit blockSize)
+NGConstraintSpace::NGConstraintSpace(LayoutUnit inlineContainerSize,
+ LayoutUnit blockContainerSize)
{
- m_inlineSize = inlineSize;
- m_blockSize = blockSize;
- m_inlineOverflowSize = LayoutUnit(-1);
- m_blockOverflowSize = LayoutUnit(-1);
+ m_inlineContainerSize = inlineContainerSize;
+ m_blockContainerSize = blockContainerSize;
+ m_inlineTriggersScrollbar = 0;
+ m_blockTriggersScrollbar = 0;
m_fixedInlineSize = 0;
m_fixedBlockSize = 0;
m_blockFragmentationType = FragmentNone;
@@ -24,11 +24,11 @@ void NGConstraintSpace::addExclusion(const NGExclusion exclusion,
}
-void NGConstraintSpace::setOverflowSize(LayoutUnit inlineSize,
- LayoutUnit blockSize)
+void NGConstraintSpace::setOverflowTriggersScrollbar(bool inlineTriggers,
+ bool blockTriggers)
{
- m_inlineOverflowSize = inlineSize;
- m_blockOverflowSize = blockSize;
+ m_inlineTriggersScrollbar = inlineTriggers;
+ m_blockTriggersScrollbar = blockTriggers;
}
void NGConstraintSpace::setFixedSize(bool inlineFixed, bool blockFixed)
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/NGConstraintSpace.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698