summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index e895626..262c97b 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -126,6 +126,9 @@ int main(int argc, char* argv[]) {
// Load ICU data tables
icu_util::Initialize();
+ // Config the network module so it has access to a limited set of resources.
+ net::NetModule::SetResourceProvider(TestShell::NetResourceProvider);
+
platform.InitializeGUI();
TestShell::InitializeTestShell(layout_test_mode);