diff options
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r-- | webkit/tools/test_shell/test_shell_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc index 4b74300..20afed9 100644 --- a/webkit/tools/test_shell/test_shell_gtk.cc +++ b/webkit/tools/test_shell/test_shell_gtk.cc @@ -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, 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"; } |