Skip to content

Commit 28f12c7

Browse files
Remove comments
1 parent a413d6b commit 28f12c7

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎tests/YGRoundingLargeOffsetTest.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ static YGSize _measureTwoLines(
1717
return YGSize{292.0f, 44.0f};
1818
}
1919

20-
// A measured node far from the origin must keep its exact height.
2120
TEST(YogaTest, rounding_measured_height_is_exact_across_float_steps) {
2221
for (const float spacer :
2322
{1012.0f + 1.0f / 3.0f,

‎yoga/algorithm/PixelGrid.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ namespace facebook::yoga {
1414

1515
namespace {
1616

17-
// Like roundValueToPixelGrid, but returns a double so that callers can
18-
// subtract rounded edges before narrowing to float.
1917
double roundValueToPixelGridDouble(
2018
const double value,
2119
const double pointScaleFactor,

0 commit comments

Comments
 (0)