summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_websocket_stream_spdy2_unittest.cc2
-rw-r--r--net/spdy/spdy_websocket_stream_spdy3_unittest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_websocket_stream_spdy2_unittest.cc b/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
index 36cc317..5f468c9 100644
--- a/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
+++ b/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
@@ -177,7 +177,7 @@ class SpdyWebSocketStreamSpdy2Test : public testing::Test {
}
void DoSync(SpdyWebSocketStreamEvent* event) {
- sync_callback_.SetResult(OK);
+ sync_callback_.callback().Run(OK);
}
protected:
diff --git a/net/spdy/spdy_websocket_stream_spdy3_unittest.cc b/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
index 40d80c2..5a21e66 100644
--- a/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
+++ b/net/spdy/spdy_websocket_stream_spdy3_unittest.cc
@@ -177,7 +177,7 @@ class SpdyWebSocketStreamSpdy3Test : public testing::Test {
}
void DoSync(SpdyWebSocketStreamEvent* event) {
- sync_callback_.SetResult(OK);
+ sync_callback_.callback().Run(OK);
}
protected: