Index: Source/core/layout/LayoutTable.cpp |
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp |
index ae01460b50ad69914093e7b83218b2997be0bc7e..9f7c5396e64b2bdd29f97bf0d2fe42648e29a436 100644 |
--- a/Source/core/layout/LayoutTable.cpp |
+++ b/Source/core/layout/LayoutTable.cpp |
@@ -678,7 +678,7 @@ void LayoutTable::computePreferredLogicalWidths() |
for (unsigned i = 0; i < m_captions.size(); i++) |
m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, m_captions[i]->minPreferredLogicalWidth()); |
- RenderStyle* styleToUse = style(); |
+ const RenderStyle* styleToUse = style(); |
// FIXME: This should probably be checking for isSpecified since you should be able to use percentage or calc values for min-width. |
if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) { |
m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value())); |