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

Unified Diff: third_party/WebKit/Source/platform/LengthBox.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/platform/LengthBox.cpp
diff --git a/third_party/WebKit/Source/platform/LengthBox.cpp b/third_party/WebKit/Source/platform/LengthBox.cpp
index 372a6a1cbb407316330bc16a2fda51e3bf103d0f..b7dd0e4431daddb63652bbe32502df315cb0b503 100644
--- a/third_party/WebKit/Source/platform/LengthBox.cpp
+++ b/third_party/WebKit/Source/platform/LengthBox.cpp
@@ -42,11 +42,11 @@ const Length& LengthBox::logicalRight(WritingMode writingMode) const {
const Length& LengthBox::before(WritingMode writingMode) const {
switch (writingMode) {
- case WritingMode::HorizontalTb:
+ case WritingMode::kHorizontalTb:
return m_top;
- case WritingMode::VerticalLr:
+ case WritingMode::kVerticalLr:
return m_left;
- case WritingMode::VerticalRl:
+ case WritingMode::kVerticalRl:
return m_right;
}
ASSERT_NOT_REACHED();
@@ -55,11 +55,11 @@ const Length& LengthBox::before(WritingMode writingMode) const {
const Length& LengthBox::after(WritingMode writingMode) const {
switch (writingMode) {
- case WritingMode::HorizontalTb:
+ case WritingMode::kHorizontalTb:
return m_bottom;
- case WritingMode::VerticalLr:
+ case WritingMode::kVerticalLr:
return m_right;
- case WritingMode::VerticalRl:
+ case WritingMode::kVerticalRl:
return m_left;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « third_party/WebKit/Source/platform/DragImage.cpp ('k') | third_party/WebKit/Source/platform/exported/WebTextRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698