summaryrefslogtreecommitdiffstats
path: root/webkit/glue/unittest_test_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/unittest_test_server.h')
-rw-r--r--webkit/glue/unittest_test_server.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/unittest_test_server.h b/webkit/glue/unittest_test_server.h
index 3e27b875..2a83599 100644
--- a/webkit/glue/unittest_test_server.h
+++ b/webkit/glue/unittest_test_server.h
@@ -22,7 +22,10 @@ class UnittestTestServer : public HTTPTestServer {
public:
static UnittestTestServer* CreateServer() {
UnittestTestServer* test_server = new UnittestTestServer();
- if (!test_server->Init("localhost", 1337, L"webkit/data")) {
+ FilePath no_cert;
+ FilePath docroot = FilePath::FromWStringHack(L"webkit/data");
+ if (!test_server->Start(net::TestServerLauncher::ProtoHTTP,
+ "localhost", 1337, docroot, no_cert)) {
delete test_server;
return NULL;
}