| Index: third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| index d27a3c60373b67034b1c4e280896fec697625359..a50f3425adab43dff04088ca45da3e9d00feecdc 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "modules/indexeddb/MockWebIDBDatabase.h"
|
| #include "platform/SharedBuffer.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include <memory>
|
| #include <v8.h>
|
|
|
| namespace blink {
|
| @@ -90,7 +91,7 @@ private:
|
|
|
| TEST_F(IDBTransactionTest, EnsureLifetime)
|
| {
|
| - OwnPtr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create();
|
| + std::unique_ptr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create();
|
| EXPECT_CALL(*backend, close())
|
| .Times(1);
|
| Persistent<IDBDatabase> db = IDBDatabase::create(getExecutionContext(), std::move(backend), FakeIDBDatabaseCallbacks::create());
|
| @@ -124,7 +125,7 @@ TEST_F(IDBTransactionTest, TransactionFinish)
|
| {
|
| const int64_t transactionId = 1234;
|
|
|
| - OwnPtr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create();
|
| + std::unique_ptr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create();
|
| EXPECT_CALL(*backend, commit(transactionId))
|
| .Times(1);
|
| EXPECT_CALL(*backend, close())
|
|
|