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

Unified Diff: trunk/src/gpu/tools/compositor_model_bench/compositor_model_bench.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/gpu/tools/compositor_model_bench/compositor_model_bench.cc
===================================================================
--- trunk/src/gpu/tools/compositor_model_bench/compositor_model_bench.cc (revision 239399)
+++ trunk/src/gpu/tools/compositor_model_bench/compositor_model_bench.cc (working copy)
@@ -38,7 +38,9 @@
using base::TimeTicks;
+using file_util::CloseFile;
using base::DirectoryExists;
+using file_util::OpenFile;
using base::PathExists;
using std::queue;
using std::string;
@@ -273,7 +275,7 @@
void DumpOutput() {
LOG(INFO) << "Successfully ran " << sims_completed_.size() << " tests";
- FILE* f = base::OpenFile(output_path_, "w");
+ FILE* f = OpenFile(output_path_, "w");
if (!f) {
LOG(ERROR) << "Failed to open output file " <<
@@ -299,7 +301,7 @@
}
fputs("\t]\n}", f);
- base::CloseFile(f);
+ CloseFile(f);
}
bool UpdateTestStatus() {
« no previous file with comments | « trunk/src/content/test/weburl_loader_mock_factory.cc ('k') | trunk/src/media/audio/android/audio_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698