Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index a9bafeec3a831b64657df4197067748cb266d3b3..fd76c7b52d0c516de43f840a80d25c4a60cfcec9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -39,7 +39,6 @@ |
#include "core/paint/PaintLayer.h" |
#include "core/style/ShadowList.h" |
#include "platform/LengthFunctions.h" |
-#include "wtf/PtrUtil.h" |
namespace blink { |
@@ -327,7 +326,7 @@ void LayoutBoxModelObject::invalidateStickyConstraints() |
void LayoutBoxModelObject::createLayer() |
{ |
ASSERT(!m_layer); |
- m_layer = wrapUnique(new PaintLayer(this)); |
+ m_layer = adoptPtr(new PaintLayer(this)); |
setHasLayer(true); |
m_layer->insertOnlyThisLayerAfterStyleChange(); |
} |