| Index: Source/modules/webdatabase/Database.cpp
|
| diff --git a/Source/modules/webdatabase/Database.cpp b/Source/modules/webdatabase/Database.cpp
|
| index 5880d3f816ccaffefa9c8d4a2504e413a5344d17..db25a0f61e68a344e9571995f4ef423a638b5aa1 100644
|
| --- a/Source/modules/webdatabase/Database.cpp
|
| +++ b/Source/modules/webdatabase/Database.cpp
|
| @@ -142,7 +142,7 @@ void Database::runTransaction(PassOwnPtr<SQLTransactionCallback> callback, PassO
|
| // FIXME: Rather than passing errorCallback to SQLTransaction and then sometimes firing it ourselves,
|
| // this code should probably be pushed down into DatabaseBackend so that we only create the SQLTransaction
|
| // if we're actually going to run it.
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| SQLTransactionErrorCallback* originalErrorCallback = errorCallback.get();
|
| #endif
|
| RefPtrWillBeRawPtr<SQLTransaction> transaction = SQLTransaction::create(this, callback, successCallback, errorCallback, readOnly);
|
|
|