| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index 4bbb8953e4732e5b1e0c4cf164e46328d5023618..f71ba49861bffea331c43cadc52bd15a0879e6ca 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -44,6 +44,7 @@
|
| #include "platform/geometry/TransformState.h"
|
| #include "platform/graphics/paint/PaintController.h"
|
| #include "public/platform/Platform.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include <inttypes.h>
|
|
|
| namespace blink {
|
| @@ -243,7 +244,7 @@ void LayoutView::layout()
|
| if (pageLogicalHeight() && shouldUsePrintingLayout()) {
|
| m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = logicalWidth();
|
| if (!m_fragmentationContext)
|
| - m_fragmentationContext = adoptPtr(new ViewFragmentationContext(*this));
|
| + m_fragmentationContext = wrapUnique(new ViewFragmentationContext(*this));
|
| } else if (m_fragmentationContext) {
|
| m_fragmentationContext.reset();
|
| }
|
| @@ -952,7 +953,7 @@ bool LayoutView::usesCompositing() const
|
| PaintLayerCompositor* LayoutView::compositor()
|
| {
|
| if (!m_compositor)
|
| - m_compositor = adoptPtr(new PaintLayerCompositor(*this));
|
| + m_compositor = wrapUnique(new PaintLayerCompositor(*this));
|
|
|
| return m_compositor.get();
|
| }
|
|
|