summaryrefslogtreecommitdiffstats
path: root/net/websockets/websocket_job_unittest.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 18:18:00 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 18:18:00 +0000
commitc3a420945071a54182d63de697be0a80f5dab0c0 (patch)
tree5b6a16e60c10411f0ed2a5171c8139e02e29d11a /net/websockets/websocket_job_unittest.cc
parent1d20cdf4cb74b3a1b47c7bd62d3e3d17be4c6013 (diff)
downloadchromium_src-c3a420945071a54182d63de697be0a80f5dab0c0.zip
chromium_src-c3a420945071a54182d63de697be0a80f5dab0c0.tar.gz
chromium_src-c3a420945071a54182d63de697be0a80f5dab0c0.tar.bz2
Reland r74842
The bug was that the ProfilePolicyContext was getting initialized before the ProfileImplIOData::Handle was initialized. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6526029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets/websocket_job_unittest.cc')
-rw-r--r--net/websockets/websocket_job_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc
index 2133cfa..37013b9 100644
--- a/net/websockets/websocket_job_unittest.cc
+++ b/net/websockets/websocket_job_unittest.cc
@@ -181,8 +181,8 @@ class MockURLRequestContext : public URLRequestContext {
public:
MockURLRequestContext(CookieStore* cookie_store,
CookiePolicy* cookie_policy) {
- cookie_store_ = cookie_store;
- cookie_policy_ = cookie_policy;
+ set_cookie_store(cookie_store);
+ set_cookie_policy(cookie_policy);
}
private: