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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp

Issue 2354843002: Changed EFloat to an enum class (Closed)
Patch Set: Rebase Created 4 years, 3 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/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index 584ed5dfc66ee44174d3dd61b97ce32c38fc17c5..bb2e639bcd3d00e0af940fb5b860ab0199f60259 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -1387,8 +1387,8 @@ void LayoutBlockFlow::computeInlinePreferredLogicalWidths(LayoutUnit& minLogical
if (child->isFloating()) {
const ComputedStyle& childStyle = child->styleRef();
clearPreviousFloat = (prevFloat
- && ((prevFloat->styleRef().floating() == LeftFloat && (childStyle.clear() & ClearLeft))
- || (prevFloat->styleRef().floating() == RightFloat && (childStyle.clear() & ClearRight))));
+ && ((prevFloat->styleRef().floating() == EFloat::LeftFloat && (childStyle.clear() & ClearLeft))
+ || (prevFloat->styleRef().floating() == EFloat::RightFloat && (childStyle.clear() & ClearRight))));
prevFloat = child;
} else {
clearPreviousFloat = false;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698