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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index fbcca36daed954a685c6ff9347f3863df2f2e9ad..a42be72442e04ea98b247701534c0fe64f7c818c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -589,7 +589,7 @@ void LayoutTable::layout() {
// Lay out top captions.
// FIXME: Collapse caption margin.
for (unsigned i = 0; i < m_captions.size(); i++) {
- if (m_captions[i]->style()->captionSide() == ECaptionSide::Bottom)
+ if (m_captions[i]->style()->captionSide() == ECaptionSide::kBottom)
continue;
layoutCaption(*m_captions[i], layouter);
}
@@ -713,7 +713,7 @@ void LayoutTable::layout() {
// Lay out bottom captions.
for (unsigned i = 0; i < m_captions.size(); i++) {
- if (m_captions[i]->style()->captionSide() != ECaptionSide::Bottom)
+ if (m_captions[i]->style()->captionSide() != ECaptionSide::kBottom)
continue;
layoutCaption(*m_captions[i], layouter);
}
@@ -825,7 +825,7 @@ void LayoutTable::subtractCaptionRect(LayoutRect& rect) const {
m_captions[i]->marginBefore() +
m_captions[i]->marginAfter();
bool captionIsBefore =
- (m_captions[i]->style()->captionSide() != ECaptionSide::Bottom) ^
+ (m_captions[i]->style()->captionSide() != ECaptionSide::kBottom) ^
style()->isFlippedBlocksWritingMode();
if (style()->isHorizontalWritingMode()) {
rect.setHeight(rect.height() - captionLogicalHeight);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698