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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.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/modules/indexeddb/WebIDBCallbacksImpl.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.h b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.h
index 64436486b2bbdd361f53c3e743be24dce880563b..4f8d0c23f11b484254e4e6c70fd23f5f4536dc13 100644
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.h
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.h
@@ -30,9 +30,9 @@
#define WebIDBCallbacksImpl_h
#include "public/platform/modules/indexeddb/WebIDBCallbacks.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
-#include <memory>
namespace blink {
@@ -47,7 +47,7 @@ struct WebIDBValue;
class WebIDBCallbacksImpl final : public WebIDBCallbacks {
USING_FAST_MALLOC(WebIDBCallbacksImpl);
public:
- static std::unique_ptr<WebIDBCallbacksImpl> create(IDBRequest*);
+ static PassOwnPtr<WebIDBCallbacksImpl> create(IDBRequest*);
~WebIDBCallbacksImpl() override;

Powered by Google App Engine
This is Rietveld 408576698