| Index: chrome/browser/importer/nss_decryptor.cc
|
| diff --git a/chrome/browser/importer/nss_decryptor.cc b/chrome/browser/importer/nss_decryptor.cc
|
| index 1658e35545c2bb7c0c15c1122457fc2f4a251214..5fef1ee2768fb95cc40725a2a6f840623595c8a4 100644
|
| --- a/chrome/browser/importer/nss_decryptor.cc
|
| +++ b/chrome/browser/importer/nss_decryptor.cc
|
| @@ -240,7 +240,7 @@ bool NSSDecryptor::ReadAndParseSignons(const FilePath& sqlite_file,
|
|
|
| const char* query = "SELECT hostname FROM moz_disabledHosts";
|
| sql::Statement s(db.GetUniqueStatement(query));
|
| - if (!s)
|
| + if (!s.is_valid())
|
| return false;
|
|
|
| GURL::Replacements rep;
|
| @@ -262,7 +262,7 @@ bool NSSDecryptor::ReadAndParseSignons(const FilePath& sqlite_file,
|
| "encryptedPassword FROM moz_logins";
|
|
|
| sql::Statement s2(db.GetUniqueStatement(query2));
|
| - if (!s2)
|
| + if (!s2.is_valid())
|
| return false;
|
|
|
| while (s2.Step()) {
|
|
|