| 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 d41e8f7f7d1f39ef9e5710e884f73fb6c192e5bd..ba2185437441e96512ae9e5103e807dd6328a27b 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/paint/InlineFlowBoxPainter.h"
|
| #include "core/style/ShadowList.h"
|
| #include "platform/fonts/Font.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include <algorithm>
|
| #include <math.h>
|
|
|
| @@ -951,7 +952,7 @@ void InlineFlowBox::setLayoutOverflow(const LayoutRect& rect, const LayoutRect&
|
| return;
|
|
|
| if (!m_overflow)
|
| - m_overflow = adoptPtr(new SimpleOverflowModel(frameBox, frameBox));
|
| + m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
|
|
|
| m_overflow->setLayoutOverflow(rect);
|
| }
|
| @@ -963,7 +964,7 @@ void InlineFlowBox::setVisualOverflow(const LayoutRect& rect, const LayoutRect&
|
| return;
|
|
|
| if (!m_overflow)
|
| - m_overflow = adoptPtr(new SimpleOverflowModel(frameBox, frameBox));
|
| + m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
|
|
|
| m_overflow->setVisualOverflow(rect);
|
| }
|
|
|