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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
index 411615503fc82c2ec15a6929f657afae1ddb6087..b4962d64e9e50704e35d07b500751c4fcd9a3f88 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
@@ -505,7 +505,7 @@ NGLogicalOffset NGBlockLayoutAlgorithm::PositionFloatFragment(
NGExclusion::Type exclusion_type = NGExclusion::kFloatLeft;
// Calculate the float offset if needed.
LayoutUnit float_offset;
- if (CurrentChildStyle().floating() == EFloat::Right) {
+ if (CurrentChildStyle().floating() == EFloat::kRight) {
float_offset = opportunity.size.inline_size - fragment.InlineSize();
exclusion_type = NGExclusion::kFloatRight;
}

Powered by Google App Engine
This is Rietveld 408576698