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

Unified Diff: content/common/mac/font_loader.mm

Issue 109043002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: content/common/mac/font_loader.mm
diff --git a/content/common/mac/font_loader.mm b/content/common/mac/font_loader.mm
index d919680505f8c024504e6e44f113756587770c74..66b143f0a384a9a7a4504ac97fb45a4ccace941c 100644
--- a/content/common/mac/font_loader.mm
+++ b/content/common/mac/font_loader.mm
@@ -140,9 +140,9 @@ void FontLoader::LoadFont(const FontDescriptor& font,
return;
}
- int32 amt_read = file_util::ReadFile(font_path,
- reinterpret_cast<char*>(result->font_data.memory()),
- font_file_size_32);
+ int32 amt_read = base::ReadFile(font_path,
+ reinterpret_cast<char*>(result->font_data.memory()),
+ font_file_size_32);
if (amt_read != font_file_size_32) {
DLOG(ERROR) << "Failed to read font data for " << font_path.value();
return;
« no previous file with comments | « content/common/gpu/client/gl_helper_benchmark.cc ('k') | content/common/page_state_serialization_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698