Index: third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h |
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h |
index cb0ca43ef2337ce197b030040304b9f021503d0a..b280628fa7a857bb64346f7523910096fb592332 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h |
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h |
@@ -31,7 +31,7 @@ |
#include "public/platform/WebScrollbarThemeGeometry.h" |
#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
-#include <memory> |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -42,7 +42,7 @@ class PLATFORM_EXPORT WebScrollbarThemeGeometryNative : public WebScrollbarTheme |
USING_FAST_MALLOC(WebScrollbarThemeGeometryNative); |
WTF_MAKE_NONCOPYABLE(WebScrollbarThemeGeometryNative); |
public: |
- static std::unique_ptr<WebScrollbarThemeGeometryNative> create(ScrollbarTheme&); |
+ static PassOwnPtr<WebScrollbarThemeGeometryNative> create(ScrollbarTheme&); |
bool hasButtons(WebScrollbar*) override; |
bool hasThumb(WebScrollbar*) override; |