From ce52e85528d54ce91c3b155f2751895f34dc1ea3 Mon Sep 17 00:00:00 2001 From: "evanm@google.com" Date: Wed, 17 Dec 2008 23:49:47 +0000 Subject: Fix Linux build. Review URL: http://codereview.chromium.org/14818 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7184 0039d316-1c4b-4281-b951-d872f2087c98 --- net/ftp/ftp_network_transaction.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/ftp') 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), -- cgit v1.1