| Index: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| index f9f7872b7d12d63ce5d96e5cb7eb5e13c86c4fe5..7e72fd1788e72739e3c02b261f1c7a7dc4b653bb 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "core/layout/LayoutImage.h"
|
| #include "platform/graphics/Path.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -165,7 +166,7 @@ Path HTMLAreaElement::getPath(const LayoutObject* containerObject) const
|
| }
|
|
|
| // Cache the original path, not depending on containerObject.
|
| - m_path = adoptPtr(new Path(path));
|
| + m_path = wrapUnique(new Path(path));
|
| }
|
|
|
| // Zoom the path into coordinates of the container object.
|
|
|