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

Unified Diff: third_party/WebKit/Source/core/layout/FloatingObjects.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/FloatingObjects.cpp
diff --git a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
index 53858360714547c39f89f822cf2b9e5176854a66..79ff8626155a90c57cae21712cac602f0d323689 100644
--- a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
+++ b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
@@ -58,10 +58,10 @@ FloatingObject::FloatingObject(LayoutBox* layoutObject)
#endif
{
EFloat type = layoutObject->style()->floating();
- DCHECK_NE(type, EFloat::NoFloat);
- if (type == EFloat::LeftFloat)
+ DCHECK_NE(type, EFloat::None);
+ if (type == EFloat::Left)
m_type = FloatLeft;
- else if (type == EFloat::RightFloat)
+ else if (type == EFloat::Right)
m_type = FloatRight;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698