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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.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/webdatabase/SQLTransactionBackend.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
index 989d73392083d2385bd86923892dcd347fd1db97..c3504d8d860bd70eca56868d17389e5a2a1b5965 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
@@ -35,7 +35,6 @@
#include "wtf/Deque.h"
#include "wtf/Forward.h"
#include "wtf/ThreadingPrimitives.h"
-#include <memory>
namespace blink {
@@ -111,7 +110,7 @@ private:
Member<Database> m_database;
Member<SQLTransactionWrapper> m_wrapper;
- std::unique_ptr<SQLErrorData> m_transactionError;
+ OwnPtr<SQLErrorData> m_transactionError;
bool m_hasCallback;
bool m_hasSuccessCallback;
@@ -125,7 +124,7 @@ private:
Mutex m_statementMutex;
Deque<CrossThreadPersistent<SQLStatementBackend>> m_statementQueue;
- std::unique_ptr<SQLiteTransaction> m_sqliteTransaction;
+ OwnPtr<SQLiteTransaction> m_sqliteTransaction;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698