diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 12:31:11 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 12:31:11 +0000 |
commit | 6110ce7bc73ac7e4b8e4329d2ccf2d4a07f85aab (patch) | |
tree | 8d860505c23c6861f16c36db5e4c0e5fdc5789b8 /webkit | |
parent | b52141f9baffaf81053b7eb34ce65be1d0450275 (diff) | |
download | chromium_src-6110ce7bc73ac7e4b8e4329d2ccf2d4a07f85aab.zip chromium_src-6110ce7bc73ac7e4b8e4329d2ccf2d4a07f85aab.tar.gz chromium_src-6110ce7bc73ac7e4b8e4329d2ccf2d4a07f85aab.tar.bz2 |
Make Linux match Windows and Mac in calling ResetWebPreferences. This was causing some slight font differences between layout test mode and interactive mode.
Review URL: http://codereview.chromium.org/12941
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6354 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/test_shell_gtk.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc index a149fbb..420c47a 100644 --- a/webkit/tools/test_shell/test_shell_gtk.cc +++ b/webkit/tools/test_shell/test_shell_gtk.cc @@ -44,9 +44,12 @@ const FcChar8* FilePathAsFcChar(const FilePath& path) { // static void TestShell::InitializeTestShell(bool interactive) { window_list_ = new WindowList; - web_prefs_ = new WebPreferences; interactive_ = interactive; + web_prefs_ = new WebPreferences; + + ResetWebPreferences(); + // We wish to make the layout tests reproducable with respect to fonts. Skia // uses fontconfig to resolve font family names from WebKit into actual font // files found on the current system. This means that fonts vary based on the |