summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authorpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 15:58:16 +0000
committerpliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-13 15:58:16 +0000
commit6e56662fa931f303c3974b3d07090558a86576c0 (patch)
tree20887d2c3ae67ad62e0c580f05ad9ee2af8f6431 /net/socket
parent9852fb86cc9908c152ba05e95dcd69795f6e2091 (diff)
downloadchromium_src-6e56662fa931f303c3974b3d07090558a86576c0.zip
chromium_src-6e56662fa931f303c3974b3d07090558a86576c0.tar.gz
chromium_src-6e56662fa931f303c3974b3d07090558a86576c0.tar.bz2
Remove unnecessary assignment in transport_client_socket_unittest.cc.
This is part of Chrome for Android upstreaming. This line was introduced by r137387 which turned |sock| into a scoped_refptr rather than a raw pointer (that needed to be initialized). This assignment is obviously not needed anymore. Internally we don't have this extra '= NULL' which causes an unnecessary diff. BUG=136750 Review URL: https://chromiumcodereview.appspot.com/10855123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/transport_client_socket_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/transport_client_socket_unittest.cc b/net/socket/transport_client_socket_unittest.cc
index 36cc44e..59308c5 100644
--- a/net/socket/transport_client_socket_unittest.cc
+++ b/net/socket/transport_client_socket_unittest.cc
@@ -103,7 +103,7 @@ void TransportClientSocketTest::SetUp() {
::testing::TestWithParam<ClientSocketTestTypes>::SetUp();
// Find a free port to listen on
- scoped_refptr<TCPListenSocket> sock = NULL;
+ scoped_refptr<TCPListenSocket> sock;
int port;
// Range of ports to listen on. Shouldn't need to try many.
const int kMinPort = 10100;