summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h b/chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
index 89c8f79c243..f997c71f727 100644
--- a/chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/SQLStatement.h
@@ -45,17 +45,18 @@ class SQLStatementCallback;
class SQLStatementErrorCallback;
class SQLTransaction;
-class SQLStatement : public AbstractSQLStatement {
+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*);
- virtual void setBackend(AbstractSQLStatementBackend*);
+ virtual void setBackend(AbstractSQLStatementBackend*) OVERRIDE;
- virtual bool hasCallback();
- virtual bool hasErrorCallback();
+ virtual bool hasCallback() OVERRIDE;
+ virtual bool hasErrorCallback() OVERRIDE;
private:
SQLStatement(Database*, PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>);
@@ -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;