| Index: net/websockets/websocket_net_log_params_unittest.cc
|
| ===================================================================
|
| --- net/websockets/websocket_net_log_params_unittest.cc (revision 142108)
|
| +++ net/websockets/websocket_net_log_params_unittest.cc (working copy)
|
| @@ -6,7 +6,7 @@
|
|
|
| #include <string>
|
|
|
| -#include "base/memory/ref_counted.h"
|
| +#include "base/callback.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -40,9 +40,9 @@
|
| "\r\n" +
|
| key;
|
|
|
| - scoped_refptr<net::NetLogWebSocketHandshakeParameter> parameter(
|
| - new net::NetLogWebSocketHandshakeParameter(testInput));
|
| - scoped_ptr<Value> actual(parameter->ToValue());
|
| + scoped_ptr<Value> actual(
|
| + net::NetLogWebSocketHandshakeCallback(&testInput,
|
| + net::NetLog::LOG_BASIC));
|
|
|
| EXPECT_TRUE(expected.Equals(actual.get()));
|
| }
|
|
|