summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/test_shell_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc
index 16661d8..4b74300 100644
--- a/webkit/tools/test_shell/test_shell_gtk.cc
+++ b/webkit/tools/test_shell/test_shell_gtk.cc
@@ -189,7 +189,7 @@ void TestShell::InitializeTestShell(bool layout_test_mode) {
if (!file_util::CreateTemporaryFile(&fontconfig_path)) {
LOG(FATAL) << "failed to create temp font config file";
}
- if (-1 == file_util::WriteFile(fontconfig_path.ToWStringHack(),
+ if (-1 == file_util::WriteFile(fontconfig_path,
font_config_xml.data(),
font_config_xml.length())) {
LOG(FATAL) << "failed to write temp font config file";
@@ -278,7 +278,7 @@ void TestShell::InitializeTestShell(bool layout_test_mode) {
if (!file_util::CreateTemporaryFile(g_ahem_path)) {
LOG(FATAL) << "failed to create temp ahem font";
}
- if (-1 == file_util::WriteFile(g_ahem_path->ToWStringHack(), ahem_font.data(),
+ if (-1 == file_util::WriteFile(g_ahem_path, ahem_font.data(),
ahem_font.length())) {
LOG(FATAL) << "failed to write temp ahem font";
}