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

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

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
Index: trunk/src/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
===================================================================
--- trunk/src/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc (revision 239399)
+++ trunk/src/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc (working copy)
@@ -1152,7 +1152,7 @@
// Corrupt the file by corrupting the checksum, which is not checked
// until the entire table is read in |UpdateFinished()|.
- FILE* fp = base::OpenFile(database_filename_, "r+");
+ FILE* fp = file_util::OpenFile(database_filename_, "r+");
ASSERT_TRUE(fp);
ASSERT_NE(-1, fseek(fp, -8, SEEK_END));
for (size_t i = 0; i < 8; ++i) {

Powered by Google App Engine
This is Rietveld 408576698