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

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

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/SQLStatement.h ('k') | Source/modules/webdatabase/SQLStatementCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLStatement.cpp
diff --git a/Source/modules/webdatabase/SQLStatement.cpp b/Source/modules/webdatabase/SQLStatement.cpp
index 468af96e3dd4f60fdba273da35571948a816103c..df25b761150907e2640faffdbc105d3b526aa60e 100644
--- a/Source/modules/webdatabase/SQLStatement.cpp
+++ b/Source/modules/webdatabase/SQLStatement.cpp
@@ -43,13 +43,13 @@
namespace blink {
PassOwnPtrWillBeRawPtr<SQLStatement> SQLStatement::create(Database* database,
- PassOwnPtrWillBeRawPtr<SQLStatementCallback> callback, PassOwnPtrWillBeRawPtr<SQLStatementErrorCallback> errorCallback)
+ SQLStatementCallback* callback, SQLStatementErrorCallback* errorCallback)
{
return adoptPtrWillBeNoop(new SQLStatement(database, callback, errorCallback));
}
-SQLStatement::SQLStatement(Database* database, PassOwnPtrWillBeRawPtr<SQLStatementCallback> callback,
- PassOwnPtrWillBeRawPtr<SQLStatementErrorCallback> errorCallback)
+SQLStatement::SQLStatement(Database* database, SQLStatementCallback* callback,
+ SQLStatementErrorCallback* errorCallback)
: m_statementCallbackWrapper(callback, database->executionContext())
, m_statementErrorCallbackWrapper(errorCallback, database->executionContext())
{
@@ -88,8 +88,8 @@ bool SQLStatement::performCallback(SQLTransaction* transaction)
bool callbackError = false;
- OwnPtrWillBeRawPtr<SQLStatementCallback> callback = m_statementCallbackWrapper.unwrap();
- OwnPtrWillBeRawPtr<SQLStatementErrorCallback> errorCallback = m_statementErrorCallbackWrapper.unwrap();
+ SQLStatementCallback* callback = m_statementCallbackWrapper.unwrap();
+ SQLStatementErrorCallback* errorCallback = m_statementErrorCallbackWrapper.unwrap();
SQLErrorData* error = m_backend->sqlError();
// Call the appropriate statement callback and track if it resulted in an error,
« no previous file with comments | « Source/modules/webdatabase/SQLStatement.h ('k') | Source/modules/webdatabase/SQLStatementCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698