| Index: Source/core/html/HTMLTableColElement.cpp
|
| diff --git a/Source/core/html/HTMLTableColElement.cpp b/Source/core/html/HTMLTableColElement.cpp
|
| index a2ada39fcc5fd049318ab57e3b19ada1cfec0274..be96aea2ff2384804af8bd455d518c49a94fa850 100644
|
| --- a/Source/core/html/HTMLTableColElement.cpp
|
| +++ b/Source/core/html/HTMLTableColElement.cpp
|
| @@ -68,12 +68,12 @@ void HTMLTableColElement::parseAttribute(const QualifiedName& name, const Atomic
|
| newSpan = 1;
|
| }
|
| m_span = newSpan;
|
| - if (renderer() && renderer()->isLayoutTableCol())
|
| - renderer()->updateFromElement();
|
| + if (layoutObject() && layoutObject()->isLayoutTableCol())
|
| + layoutObject()->updateFromElement();
|
| } else if (name == widthAttr) {
|
| if (!value.isEmpty()) {
|
| - if (renderer() && renderer()->isLayoutTableCol()) {
|
| - LayoutTableCol* col = toLayoutTableCol(renderer());
|
| + if (layoutObject() && layoutObject()->isLayoutTableCol()) {
|
| + LayoutTableCol* col = toLayoutTableCol(layoutObject());
|
| int newWidth = width().toInt();
|
| if (newWidth != col->size().width())
|
| col->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
|
|