| Index: third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
|
| index 7c1d7d87db0acc1970b2afb9619aaebf2f87b109..4a5d672b23d772a072cff20f414c017eabe56394 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
|
| @@ -268,7 +268,7 @@ void IDBRequest::onSuccess(std::unique_ptr<WebIDBCursor> backend, IDBKey* key, I
|
| default:
|
| ASSERT_NOT_REACHED();
|
| }
|
| - setResultCursor(cursor, key, primaryKey, value);
|
| + setResultCursor(cursor, key, primaryKey, std::move(value));
|
| }
|
|
|
| void IDBRequest::onSuccess(IDBKey* idbKey)
|
| @@ -370,7 +370,7 @@ void IDBRequest::onSuccess(IDBKey* key, IDBKey* primaryKey, PassRefPtr<IDBValue>
|
| return;
|
|
|
| ASSERT(m_pendingCursor);
|
| - setResultCursor(m_pendingCursor.release(), key, primaryKey, value);
|
| + setResultCursor(m_pendingCursor.release(), key, primaryKey, std::move(value));
|
| }
|
|
|
| bool IDBRequest::hasPendingActivity() const
|
|
|