summaryrefslogtreecommitdiffstats
path: root/net/websockets
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 22:18:48 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-02 22:18:48 +0000
commitd7cf831aced7988f2ec0184beffa09caaadcaad4 (patch)
treefa9fcf2b4600c0c942b16de6cbe1c3f60679e11c /net/websockets
parent946f38c56e0bf6f1444d4a1bf8a1a88f5b14c345 (diff)
downloadchromium_src-d7cf831aced7988f2ec0184beffa09caaadcaad4.zip
chromium_src-d7cf831aced7988f2ec0184beffa09caaadcaad4.tar.gz
chromium_src-d7cf831aced7988f2ec0184beffa09caaadcaad4.tar.bz2
Fix net/ command-line pollution introduced in http://codereview.chromium.org/6869043/
BUG=81042 TEST=TransportSecurityStateTest.ForcePreloads Review URL: http://codereview.chromium.org/6883294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets')
-rw-r--r--net/websockets/websocket_job_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc
index f027a4a..db29ee6 100644
--- a/net/websockets/websocket_job_unittest.cc
+++ b/net/websockets/websocket_job_unittest.cc
@@ -157,7 +157,7 @@ class MockURLRequestContext : public URLRequestContext {
CookiePolicy* cookie_policy) {
set_cookie_store(cookie_store);
set_cookie_policy(cookie_policy);
- transport_security_state_ = new TransportSecurityState();
+ transport_security_state_ = new TransportSecurityState(std::string());
set_transport_security_state(transport_security_state_.get());
TransportSecurityState::DomainState state;
state.expiry = base::Time::Now() + base::TimeDelta::FromSeconds(1000);