| Index: third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp
|
| index 5f39f1b7a3a03c5257149ca07296f816f22777c5..1cc919ff7ad4ffd3a2dd1f9ecc3af2c4c84853a0 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp
|
| @@ -28,12 +28,14 @@
|
| #include "platform/exported/WebScrollbarThemeClientImpl.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| #include "public/platform/WebScrollbar.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| -PassOwnPtr<WebScrollbarThemeGeometryNative> WebScrollbarThemeGeometryNative::create(ScrollbarTheme& theme)
|
| +std::unique_ptr<WebScrollbarThemeGeometryNative> WebScrollbarThemeGeometryNative::create(ScrollbarTheme& theme)
|
| {
|
| - return adoptPtr(new WebScrollbarThemeGeometryNative(theme));
|
| + return wrapUnique(new WebScrollbarThemeGeometryNative(theme));
|
| }
|
|
|
| WebScrollbarThemeGeometryNative::WebScrollbarThemeGeometryNative(ScrollbarTheme& theme)
|
|
|