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

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

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/content/common/mac/font_loader.mm
===================================================================
--- trunk/src/content/common/mac/font_loader.mm (revision 239399)
+++ trunk/src/content/common/mac/font_loader.mm (working copy)
@@ -140,9 +140,9 @@
return;
}
- int32 amt_read = base::ReadFile(font_path,
- reinterpret_cast<char*>(result->font_data.memory()),
- font_file_size_32);
+ int32 amt_read = file_util::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;

Powered by Google App Engine
This is Rietveld 408576698