Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698