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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.h

Issue 2578403002: Changed EVerticalAlign to an enum class and renamed its members (Closed)
Patch Set: Created 4 years 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/LayoutTableCell.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
index 12f5210b8c87e472bff5a1a03769562b718dde65..7eb7374cfdafb15473b0040e58176f450f3e9cb4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
@@ -195,9 +195,9 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow {
int cellBaselinePosition() const;
bool isBaselineAligned() const {
EVerticalAlign va = style()->verticalAlign();
- return va == VerticalAlignBaseline || va == VerticalAlignTextBottom ||
- va == VerticalAlignTextTop || va == VerticalAlignSuper ||
- va == VerticalAlignSub || va == VerticalAlignLength;
+ return va == EVerticalAlign::Baseline || va == EVerticalAlign::TextBottom ||
+ va == EVerticalAlign::TextTop || va == EVerticalAlign::Super ||
+ va == EVerticalAlign::Sub || va == EVerticalAlign::Length;
}
// Align the cell in the block direction. This is done by calculating an
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698