summaryrefslogtreecommitdiffstats
path: root/content/common/sandbox_mac_fontloading_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/sandbox_mac_fontloading_unittest.mm')
-rw-r--r--content/common/sandbox_mac_fontloading_unittest.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/common/sandbox_mac_fontloading_unittest.mm b/content/common/sandbox_mac_fontloading_unittest.mm
index 57af4de..d78f2f4 100644
--- a/content/common/sandbox_mac_fontloading_unittest.mm
+++ b/content/common/sandbox_mac_fontloading_unittest.mm
@@ -31,8 +31,7 @@ REGISTER_SANDBOX_TEST_CASE(FontLoadingTestCase);
// Load raw font data into shared memory object.
bool FontLoadingTestCase::BeforeSandboxInit() {
std::string font_data;
- if (!file_util::ReadFileToString(base::FilePath(test_data_.c_str()),
- &font_data)) {
+ if (!base::ReadFileToString(base::FilePath(test_data_.c_str()), &font_data)) {
LOG(ERROR) << "Failed to read font data from file (" << test_data_ << ")";
return false;
}