summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_network_transaction.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/ftp/ftp_network_transaction.cc')
-rw-r--r--net/ftp/ftp_network_transaction.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index ab146f0..f40a28d 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -4,6 +4,7 @@
#include "net/ftp/ftp_network_transaction.h"
+#include "base/compiler_specific.h"
#include "net/base/client_socket.h"
#include "net/base/net_errors.h"
#include "net/ftp/ftp_network_session.h"
@@ -12,8 +13,8 @@ namespace net {
FtpNetworkTransaction::FtpNetworkTransaction(
FtpNetworkSession* session, ClientSocketFactory* socket_factory)
-#pragma warning(suppress: 4355)
- : io_callback_(this, &FtpNetworkTransaction::OnIOComplete),
+ : ALLOW_THIS_IN_INITIALIZER_LIST(io_callback_(this,
+ &FtpNetworkTransaction::OnIOComplete)),
user_callback_(NULL),
session_(session),
socket_factory_(socket_factory),