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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc

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_length_utils.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
index 234c2d01f1bc14a82d85b0468535b8934b1ae44d..97c79543d977b06764c0c0f78739f925d2f6eee4 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
@@ -59,7 +59,7 @@ LayoutUnit resolveBlockLength(const NGConstraintSpace& constraintSpace,
LayoutUnit computeInlineSizeForFragment(
const NGConstraintSpace& constraintSpace,
const ComputedStyle& style) {
- if (constraintSpace.fixedInlineSize())
+ if (constraintSpace.FixedInlineSize())
return constraintSpace.ContainerSize().inline_size;
LayoutUnit extent = resolveInlineLength(constraintSpace, style.logicalWidth(),
@@ -86,7 +86,7 @@ LayoutUnit computeInlineSizeForFragment(
LayoutUnit computeBlockSizeForFragment(const NGConstraintSpace& constraintSpace,
const ComputedStyle& style,
LayoutUnit contentSize) {
- if (constraintSpace.fixedBlockSize())
+ if (constraintSpace.FixedBlockSize())
return constraintSpace.ContainerSize().block_size;
LayoutUnit extent =

Powered by Google App Engine
This is Rietveld 408576698