Index: webkit/tools/test_shell/test_shell_request_context.cc |
=================================================================== |
--- webkit/tools/test_shell/test_shell_request_context.cc (revision 8714) |
+++ webkit/tools/test_shell/test_shell_request_context.cc (working copy) |
@@ -25,8 +25,6 @@ |
bool no_proxy) { |
cookie_store_ = new net::CookieMonster(); |
- user_agent_ = webkit_glue::GetUserAgent(); |
- |
// hard-code A-L and A-C for test shells |
accept_language_ = "en-us,en"; |
accept_charset_ = "iso-8859-1,*,utf-8"; |
@@ -51,3 +49,7 @@ |
delete proxy_service_; |
} |
+const std::string& TestShellRequestContext::GetUserAgent( |
+ const GURL& url) const { |
+ return webkit_glue::GetUserAgent(url); |
+} |