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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.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/shapes/ShapeOutsideInfo.cpp
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
index f67685c915ceb28e718e012699db0685d708ee1c..400674b4ce50af9e5cfbcacdeb16760a05d8a984 100644
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
@@ -226,11 +226,11 @@ const Shape& ShapeOutsideInfo::computedShape() const {
inline LayoutUnit borderBeforeInWritingMode(const LayoutBox& layoutBox,
WritingMode writingMode) {
switch (writingMode) {
- case WritingMode::HorizontalTb:
+ case WritingMode::kHorizontalTb:
return LayoutUnit(layoutBox.borderTop());
- case WritingMode::VerticalLr:
+ case WritingMode::kVerticalLr:
return LayoutUnit(layoutBox.borderLeft());
- case WritingMode::VerticalRl:
+ case WritingMode::kVerticalRl:
return LayoutUnit(layoutBox.borderRight());
}
@@ -242,11 +242,11 @@ inline LayoutUnit borderAndPaddingBeforeInWritingMode(
const LayoutBox& layoutBox,
WritingMode writingMode) {
switch (writingMode) {
- case WritingMode::HorizontalTb:
+ case WritingMode::kHorizontalTb:
return layoutBox.borderTop() + layoutBox.paddingTop();
- case WritingMode::VerticalLr:
+ case WritingMode::kVerticalLr:
return layoutBox.borderLeft() + layoutBox.paddingLeft();
- case WritingMode::VerticalRl:
+ case WritingMode::kVerticalRl:
return layoutBox.borderRight() + layoutBox.paddingRight();
}

Powered by Google App Engine
This is Rietveld 408576698