Index: Source/core/layout/LayoutTableCol.cpp |
diff --git a/Source/core/layout/LayoutTableCol.cpp b/Source/core/layout/LayoutTableCol.cpp |
index aaa74d5d7aebee6e0a366341aa2647e1a1957341..499158d02e4e358603084d208e6fbc3158d17813 100644 |
--- a/Source/core/layout/LayoutTableCol.cpp |
+++ b/Source/core/layout/LayoutTableCol.cpp |
@@ -102,7 +102,7 @@ void LayoutTableCol::willBeRemovedFromTree() |
table()->removeColumn(this); |
} |
-bool LayoutTableCol::isChildAllowed(RenderObject* child, RenderStyle* style) const |
+bool LayoutTableCol::isChildAllowed(RenderObject* child, const RenderStyle* style) const |
{ |
// We cannot use isTableColumn here as style() may return 0. |
return child->isLayoutTableCol() && style->display() == TABLE_COLUMN; |