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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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 c3504d8d860bd70eca56868d17389e5a2a1b5965..989d73392083d2385bd86923892dcd347fd1db97 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
@@ -35,6 +35,7 @@
#include "wtf/Deque.h"
#include "wtf/Forward.h"
#include "wtf/ThreadingPrimitives.h"
+#include <memory>
namespace blink {
@@ -110,7 +111,7 @@ private:
Member<Database> m_database;
Member<SQLTransactionWrapper> m_wrapper;
- OwnPtr<SQLErrorData> m_transactionError;
+ std::unique_ptr<SQLErrorData> m_transactionError;
bool m_hasCallback;
bool m_hasSuccessCallback;
@@ -124,7 +125,7 @@ private:
Mutex m_statementMutex;
Deque<CrossThreadPersistent<SQLStatementBackend>> m_statementQueue;
- OwnPtr<SQLiteTransaction> m_sqliteTransaction;
+ std::unique_ptr<SQLiteTransaction> m_sqliteTransaction;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698