Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
index 920900bb72d3dd6feca38098ba90f18cf8955a4b..055f3998e48333c6b2c7b58ce258685e11094af7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
@@ -206,6 +206,7 @@ void LayoutTableCell::addLayerHitTestRects( |
} |
void LayoutTableCell::computeIntrinsicPadding(int rowHeight, |
+ EVerticalAlign verticalAlign, |
SubtreeLayoutScope& layouter) { |
int oldIntrinsicPaddingBefore = intrinsicPaddingBefore(); |
int oldIntrinsicPaddingAfter = intrinsicPaddingAfter(); |
@@ -214,7 +215,7 @@ void LayoutTableCell::computeIntrinsicPadding(int rowHeight, |
oldIntrinsicPaddingAfter; |
int intrinsicPaddingBefore = 0; |
- switch (style()->verticalAlign()) { |
+ switch (verticalAlign) { |
case VerticalAlignSub: |
case VerticalAlignSuper: |
case VerticalAlignTextTop: |