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

Unified Diff: Source/modules/webdatabase/sqlite/SQLiteDatabase.h

Issue 210853002: Oilpan: Prepare to move DatabaseAuthorizer to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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: Source/modules/webdatabase/sqlite/SQLiteDatabase.h
diff --git a/Source/modules/webdatabase/sqlite/SQLiteDatabase.h b/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
index a49cdb51235892ff8d4771a0bd2fe58803b6ff74..2f4a952d5a8f3bba9e42d3cc505e6b3841eefd66 100644
--- a/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
+++ b/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
@@ -27,6 +27,7 @@
#ifndef SQLiteDatabase_h
#define SQLiteDatabase_h
+#include "heap/Handle.h"
#include "wtf/Threading.h"
#include "wtf/ThreadingPrimitives.h"
#include "wtf/text/CString.h"
@@ -97,7 +98,7 @@ public:
return m_db;
}
- void setAuthorizer(PassRefPtr<DatabaseAuthorizer>);
+ void setAuthorizer(DatabaseAuthorizer*);
Mutex& databaseMutex() { return m_lockingMutex; }
bool isAutoCommitOn() const;
@@ -128,7 +129,7 @@ private:
bool m_sharable;
Mutex m_authorizerLock;
- RefPtr<DatabaseAuthorizer> m_authorizer;
+ RefPtrWillBePersistent<DatabaseAuthorizer> m_authorizer;
Mutex m_lockingMutex;
ThreadIdentifier m_openingThread;
« no previous file with comments | « Source/modules/webdatabase/DatabaseBackendBase.cpp ('k') | Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698