summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:05:24 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:05:24 +0000
commit876d21bcde61953d9e304a5bc107c800c597500f (patch)
treea2b502920f1e8cba91b76d75e259751f67172811 /webkit/tools/test_shell/test_shell_main.cc
parent0811bfd2b0f65cc84b5914282823600451a09177 (diff)
downloadchromium_src-876d21bcde61953d9e304a5bc107c800c597500f.zip
chromium_src-876d21bcde61953d9e304a5bc107c800c597500f.tar.gz
chromium_src-876d21bcde61953d9e304a5bc107c800c597500f.tar.bz2
Ensure that we always use a direct connection to the internet when running in
layout test mode. This should help avoid some spurious errors caused by proxy servers. R=tony Review URL: http://codereview.chromium.org/11334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index a24ea7d..91a9567 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -155,7 +155,7 @@ int main(int argc, char* argv[]) {
// Initializing with a default context, which means no on-disk cookie DB,
// and no support for directory listings.
SimpleResourceLoaderBridge::Init(
- new TestShellRequestContext(cache_path, cache_mode));
+ new TestShellRequestContext(cache_path, cache_mode, layout_test_mode));
// Load ICU data tables
icu_util::Initialize();