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

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

Issue 2358473002: Renamed EFloat members to match keywords (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 bb2e639bcd3d00e0af940fb5b860ab0199f60259..8401fff9f2718dc3755ff5d5ccd14ab02489d975 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() == EFloat::LeftFloat && (childStyle.clear() & ClearLeft))
- || (prevFloat->styleRef().floating() == EFloat::RightFloat && (childStyle.clear() & ClearRight))));
+ && ((prevFloat->styleRef().floating() == EFloat::Left && (childStyle.clear() & ClearLeft))
+ || (prevFloat->styleRef().floating() == EFloat::Right && (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/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698