| Index: webkit/tools/test_shell/test_shell_main.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_shell_main.cc (revision 10343)
|
| +++ webkit/tools/test_shell/test_shell_main.cc (working copy)
|
| @@ -25,6 +25,7 @@
|
| #include "net/http/http_cache.h"
|
| #include "net/base/ssl_test_util.h"
|
| #include "net/url_request/url_request_context.h"
|
| +#include "webkit/glue/webkit_client_impl.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
| #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
|
| @@ -33,6 +34,8 @@
|
| #include "webkit/tools/test_shell/test_shell_request_context.h"
|
| #include "webkit/tools/test_shell/test_shell_switches.h"
|
|
|
| +#include "WebKit.h"
|
| +
|
| #include <iostream>
|
| using namespace std;
|
|
|
| @@ -85,6 +88,9 @@
|
| layout_test_mode,
|
| enable_gp_fault_error_box);
|
|
|
| + webkit_glue::WebKitClientImpl webkit_client_impl;
|
| + WebKit::initialize(&webkit_client_impl);
|
| +
|
| // Set this early before we start using WebCore.
|
| webkit_glue::SetLayoutTestMode(layout_test_mode);
|
|
|
|
|