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

Unified Diff: printing/image.cc

Issue 19579005: Move ReadFileToString to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « printing/emf_win_unittest.cc ('k') | remoting/host/config_file_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/image.cc
diff --git a/printing/image.cc b/printing/image.cc
index 47ce089d3026425862d006e31008f3b2d71b4115..b9c0010e61595ee91d52dae6d753e5beb509bc5b 100644
--- a/printing/image.cc
+++ b/printing/image.cc
@@ -21,7 +21,7 @@ Image::Image(const base::FilePath& path)
: row_length_(0),
ignore_alpha_(true) {
std::string data;
- file_util::ReadFileToString(path, &data);
+ base::ReadFileToString(path, &data);
bool success = false;
if (path.MatchesExtension(FILE_PATH_LITERAL(".png"))) {
success = LoadPng(data);
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | remoting/host/config_file_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698