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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database_unittest.cc

Issue 2840017: AppendASCII returns a new object. (Closed)
Patch Set: Created 10 years, 6 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 | chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
index 51c962dccafefd5565d4ca3f3fee9ff62a621f8a..5a94ea49788078be3599dfa9c8f6713d93b47fed 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
@@ -54,7 +54,7 @@ class SafeBrowsingDatabaseTest : public PlatformTest {
file_deleter_.reset(new FileAutoDeleter(temp_dir));
FilePath filename(temp_dir);
- filename.AppendASCII("SafeBrowsingTestDatabase");
+ filename = filename.AppendASCII("SafeBrowsingTestDatabase");
// In case it existed from a previous run.
file_util::Delete(FilePath(filename.value() + kBloomSuffix), false);
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698