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

Unified Diff: chrome/browser/password_manager/login_database_unittest.cc

Issue 18684002: Fixing destruction order in login database unit tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/login_database_unittest.cc
diff --git a/chrome/browser/password_manager/login_database_unittest.cc b/chrome/browser/password_manager/login_database_unittest.cc
index 3338058c820651da9def2f4f8e7ee90bf379bb15..a0383da2866455d363e2326bf5e8b631a4c14c1b 100644
--- a/chrome/browser/password_manager/login_database_unittest.cc
+++ b/chrome/browser/password_manager/login_database_unittest.cc
@@ -40,9 +40,9 @@ class LoginDatabaseTest : public testing::Test {
db_.public_suffix_domain_matching_ = enabled;
}
- LoginDatabase db_;
- base::FilePath file_;
base::ScopedTempDir temp_dir_;
+ base::FilePath file_;
+ LoginDatabase db_;
};
TEST_F(LoginDatabaseTest, Logins) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698