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

Unified Diff: content/shell/browser/shell_message_filter.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 | « content/shell/app/webkit_test_platform_support_win.cc ('k') | content/test/image_decoder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_message_filter.cc
diff --git a/content/shell/browser/shell_message_filter.cc b/content/shell/browser/shell_message_filter.cc
index c7c4cca7abaa334cc8f98d22188ae03893eb740f..fcbde2f80a9aac69455248b7191adbc42265d0af 100644
--- a/content/shell/browser/shell_message_filter.cc
+++ b/content/shell/browser/shell_message_filter.cc
@@ -61,7 +61,7 @@ bool ShellMessageFilter::OnMessageReceived(const IPC::Message& message,
void ShellMessageFilter::OnReadFileToString(const base::FilePath& local_file,
std::string* contents) {
base::ThreadRestrictions::ScopedAllowIO allow_io;
- file_util::ReadFileToString(local_file, contents);
+ base::ReadFileToString(local_file, contents);
}
void ShellMessageFilter::OnRegisterIsolatedFileSystem(
« no previous file with comments | « content/shell/app/webkit_test_platform_support_win.cc ('k') | content/test/image_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698