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

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

Issue 2812643002: Fix names of local constants after blink rename. (Closed)
Patch Set: Created 3 years, 8 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_block_layout_algorithm_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
index cd256a2e0950191d719720e53ccecf686ea6705e..52cba6cf2b8129c01b05cc5b28676cdfa8b6cf45 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
@@ -2020,14 +2020,14 @@ TEST_F(NGBlockLayoutAlgorithmTest, NoFragmentation) {
<div id='container'></div>
)HTML");
- LayoutUnit k_fragmentainer_space_available(200);
+ LayoutUnit kFragmentainerSpaceAvailable(200);
NGBlockNode* node = new NGBlockNode(
ToLayoutBlockFlow(GetLayoutObjectByElementId("container")));
RefPtr<NGConstraintSpace> space = ConstructConstraintSpace(
kHorizontalTopBottom, TextDirection::kLtr,
NGLogicalSize(LayoutUnit(1000), NGSizeIndefinite), false,
- k_fragmentainer_space_available);
+ kFragmentainerSpaceAvailable);
// We should only have one 150x200 fragment with no fragmentation.
RefPtr<const NGPhysicalFragment> fragment =
@@ -2049,14 +2049,14 @@ TEST_F(NGBlockLayoutAlgorithmTest, SimpleFragmentation) {
<div id='container'></div>
)HTML");
- LayoutUnit k_fragmentainer_space_available(200);
+ LayoutUnit kFragmentainerSpaceAvailable(200);
NGBlockNode* node = new NGBlockNode(
ToLayoutBlockFlow(GetLayoutObjectByElementId("container")));
RefPtr<NGConstraintSpace> space = ConstructConstraintSpace(
kHorizontalTopBottom, TextDirection::kLtr,
NGLogicalSize(LayoutUnit(1000), NGSizeIndefinite), false,
- k_fragmentainer_space_available);
+ kFragmentainerSpaceAvailable);
RefPtr<const NGPhysicalFragment> fragment =
NGBlockLayoutAlgorithm(node, space.Get()).Layout()->PhysicalFragment();
@@ -2096,14 +2096,14 @@ TEST_F(NGBlockLayoutAlgorithmTest, InnerChildrenFragmentation) {
</div>
)HTML");
- LayoutUnit k_fragmentainer_space_available(200);
+ LayoutUnit kFragmentainerSpaceAvailable(200);
NGBlockNode* node = new NGBlockNode(
ToLayoutBlockFlow(GetLayoutObjectByElementId("container")));
RefPtr<NGConstraintSpace> space = ConstructConstraintSpace(
kHorizontalTopBottom, TextDirection::kLtr,
NGLogicalSize(LayoutUnit(1000), NGSizeIndefinite), false,
- k_fragmentainer_space_available);
+ kFragmentainerSpaceAvailable);
RefPtr<const NGPhysicalFragment> fragment =
NGBlockLayoutAlgorithm(node, space.Get()).Layout()->PhysicalFragment();
@@ -2164,14 +2164,14 @@ TEST_F(NGBlockLayoutAlgorithmTest,
</div>
)HTML");
- LayoutUnit k_fragmentainer_space_available(200);
+ LayoutUnit kFragmentainerSpaceAvailable(200);
NGBlockNode* node = new NGBlockNode(
ToLayoutBlockFlow(GetLayoutObjectByElementId("container")));
RefPtr<NGConstraintSpace> space = ConstructConstraintSpace(
kHorizontalTopBottom, TextDirection::kLtr,
NGLogicalSize(LayoutUnit(1000), NGSizeIndefinite), false,
- k_fragmentainer_space_available);
+ kFragmentainerSpaceAvailable);
RefPtr<const NGPhysicalFragment> fragment =
NGBlockLayoutAlgorithm(node, space.Get()).Layout()->PhysicalFragment();
@@ -2230,14 +2230,14 @@ TEST_F(NGBlockLayoutAlgorithmTest, InnerChildrenFragmentationSmallHeight) {
</div>
)HTML");
- LayoutUnit k_fragmentainer_space_available(200);
+ LayoutUnit kFragmentainerSpaceAvailable(200);
NGBlockNode* node = new NGBlockNode(
ToLayoutBlockFlow(GetLayoutObjectByElementId("container")));
RefPtr<NGConstraintSpace> space = ConstructConstraintSpace(
kHorizontalTopBottom, TextDirection::kLtr,
NGLogicalSize(LayoutUnit(1000), NGSizeIndefinite), false,
- k_fragmentainer_space_available);
+ kFragmentainerSpaceAvailable);
RefPtr<const NGPhysicalFragment> fragment =
NGBlockLayoutAlgorithm(node, space.Get()).Layout()->PhysicalFragment();

Powered by Google App Engine
This is Rietveld 408576698