| Index: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
|
| index b7e2c3394422e478fb37376b43c85616f8c9f1b7..b2ad12057b2fc7cd190b568d105ad60cd932aeb0 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
|
| @@ -82,10 +82,6 @@ SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql)
|
| : m_database(db),
|
| m_query(sql),
|
| m_statement(0)
|
| -#if ENABLE(ASSERT)
|
| - ,
|
| - m_isPrepared(false)
|
| -#endif
|
| {
|
| }
|
|
|
| @@ -127,7 +123,7 @@ int SQLiteStatement::prepare() {
|
| else if (*tail && **tail)
|
| error = SQLITE_ERROR;
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| m_isPrepared = error == SQLITE_OK;
|
| #endif
|
| return restrictError(error);
|
| @@ -156,7 +152,7 @@ int SQLiteStatement::step() {
|
| }
|
|
|
| int SQLiteStatement::finalize() {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| m_isPrepared = false;
|
| #endif
|
| if (!m_statement)
|
|
|