| Index: third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| index 8d24d0150c6dd72b5d9233edc680b170815e92e2..00f82f577714bda234942f4dba4154d5c029858f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
| @@ -44,6 +44,7 @@
|
| #include "core/paint/PaintLayer.h"
|
| #include "core/paint/TablePainter.h"
|
| #include "core/style/StyleInheritedData.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -91,9 +92,9 @@ void LayoutTable::styleDidChange(StyleDifference diff, const ComputedStyle* oldS
|
| // According to the CSS2 spec, you only use fixed table layout if an
|
| // explicit width is specified on the table. Auto width implies auto table layout.
|
| if (style()->isFixedTableLayout())
|
| - m_tableLayout = adoptPtr(new TableLayoutAlgorithmFixed(this));
|
| + m_tableLayout = wrapUnique(new TableLayoutAlgorithmFixed(this));
|
| else
|
| - m_tableLayout = adoptPtr(new TableLayoutAlgorithmAuto(this));
|
| + m_tableLayout = wrapUnique(new TableLayoutAlgorithmAuto(this));
|
| }
|
|
|
| // If border was changed, invalidate collapsed borders cache.
|
|
|