Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Unified Diff: net/ftp/ftp_network_transaction.cc

Issue 14818: Fix Linux build. (Closed)
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_network_transaction.cc
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index ab146f0e2ed3ab0b181f06baaef43a9ac7afbdab..f40a28d1921f83c67768e1f70a78eab5af8ffdc8 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,
wtc 2008/12/17 23:54:03 Nit: the colon should be indented by 4. And only
+ &FtpNetworkTransaction::OnIOComplete)),
user_callback_(NULL),
session_(session),
socket_factory_(socket_factory),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698