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

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

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/FloatingObjects.cpp
diff --git a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
index 1c425fb71134e3a6dd1f77d09df92feaad2a90e4..096621c20710b141463344f2b94c5b16e2029e6a 100644
--- a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
+++ b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
@@ -61,10 +61,10 @@ FloatingObject::FloatingObject(LayoutBox* layoutObject)
#endif
{
EFloat type = layoutObject->style()->floating();
- DCHECK_NE(type, EFloat::None);
- if (type == EFloat::Left)
+ DCHECK_NE(type, EFloat::kNone);
+ if (type == EFloat::kLeft)
m_type = FloatLeft;
- else if (type == EFloat::Right)
+ else if (type == EFloat::kRight)
m_type = FloatRight;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp ('k') | third_party/WebKit/Source/core/layout/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698