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

Unified Diff: Source/modules/webdatabase/SQLStatement.h

Issue 311273005: Oilpan: Prepare to move AbstractSQLStatement, SQLStatement, and SQLCallbackWrapper<T> to Oilpan hea… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/webdatabase/SQLCallbackWrapper.h ('k') | Source/modules/webdatabase/SQLStatement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLStatement.h
diff --git a/Source/modules/webdatabase/SQLStatement.h b/Source/modules/webdatabase/SQLStatement.h
index 58c8759980373fb80474952528e26a60c52b2e61..f997c71f727c5a5d28d5c8be603ee6a0732f8a02 100644
--- a/Source/modules/webdatabase/SQLStatement.h
+++ b/Source/modules/webdatabase/SQLStatement.h
@@ -47,8 +47,9 @@ class SQLTransaction;
class SQLStatement FINAL : public AbstractSQLStatement {
public:
- static PassOwnPtr<SQLStatement> create(Database*,
+ static PassOwnPtrWillBeRawPtr<SQLStatement> create(Database*,
PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>);
+ virtual void trace(Visitor*) OVERRIDE;
bool performCallback(SQLTransaction*);
@@ -63,7 +64,7 @@ private:
// The AbstractSQLStatementBackend owns the SQLStatement. Hence, the backend is
// guaranteed to be outlive the SQLStatement, and it is safe for us to refer
// to the backend using a raw pointer here.
- AbstractSQLStatementBackend* m_backend;
+ RawPtrWillBeMember<AbstractSQLStatementBackend> m_backend;
SQLCallbackWrapper<SQLStatementCallback> m_statementCallbackWrapper;
SQLCallbackWrapper<SQLStatementErrorCallback> m_statementErrorCallbackWrapper;
« no previous file with comments | « Source/modules/webdatabase/SQLCallbackWrapper.h ('k') | Source/modules/webdatabase/SQLStatement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698