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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.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/MockWebIDBDatabase.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h b/third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h
index 30445548c8452630d133ca465913b66d74b1a0b5..5492dac092e6913db0d1a1c0c6b8809e66709922 100644
--- a/third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h
+++ b/third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h
@@ -9,8 +9,8 @@
#include "modules/indexeddb/IDBKeyRange.h"
#include "public/platform/modules/indexeddb/WebIDBDatabase.h"
#include "public/platform/modules/indexeddb/WebIDBKeyRange.h"
+#include "wtf/PassOwnPtr.h"
#include <gmock/gmock.h>
-#include <memory>
namespace blink {
@@ -18,7 +18,7 @@ class MockWebIDBDatabase : public testing::StrictMock<WebIDBDatabase> {
public:
virtual ~MockWebIDBDatabase();
- static std::unique_ptr<MockWebIDBDatabase> create();
+ static PassOwnPtr<MockWebIDBDatabase> create();
MOCK_METHOD5(createObjectStore, void(long long transactionId, long long objectStoreId, const WebString& name, const WebIDBKeyPath&, bool autoIncrement));
MOCK_METHOD2(deleteObjectStore, void(long long transactionId, long long objectStoreId));

Powered by Google App Engine
This is Rietveld 408576698