| Index: chrome/browser/diagnostics/sqlite_diagnostics.cc
|
| diff --git a/chrome/browser/diagnostics/sqlite_diagnostics.cc b/chrome/browser/diagnostics/sqlite_diagnostics.cc
|
| index 1e58591275c2da4ec5b4fcbb08c9ea1d2cc2345a..7f2e6f5ba63314bec86afdf31ff49d34c5ef2cf0 100644
|
| --- a/chrome/browser/diagnostics/sqlite_diagnostics.cc
|
| +++ b/chrome/browser/diagnostics/sqlite_diagnostics.cc
|
| @@ -54,7 +54,7 @@ class SqliteIntegrityTest : public DiagnosticTest {
|
| return true;
|
| }
|
| sql::Statement s(db.GetUniqueStatement("PRAGMA integrity_check;"));
|
| - if (!s) {
|
| + if (!s.is_valid()) {
|
| int error = db.GetErrorCode();
|
| if (SQLITE_BUSY == error) {
|
| RecordFailure(ASCIIToUTF16("DB locked by another process"));
|
|
|