| Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| index ab112b6be61824ed00beffb9d245b38740536ea2..9ae81abab5cadcac05a2b46b0f1d4756eb4e7cd7 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| @@ -1183,7 +1183,7 @@ void InlineFlowBox::setLayoutOverflow(const LayoutRect& rect,
|
| return;
|
|
|
| if (!m_overflow)
|
| - m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
|
| + m_overflow = makeUnique<SimpleOverflowModel>(frameBox, frameBox);
|
|
|
| m_overflow->setLayoutOverflow(rect);
|
| }
|
| @@ -1195,7 +1195,7 @@ void InlineFlowBox::setVisualOverflow(const LayoutRect& rect,
|
| return;
|
|
|
| if (!m_overflow)
|
| - m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
|
| + m_overflow = makeUnique<SimpleOverflowModel>(frameBox, frameBox);
|
|
|
| m_overflow->setVisualOverflow(rect);
|
| }
|
|
|