diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 15:26:54 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 15:26:54 +0000 |
commit | 33d710276f0195db9c56cb5d785f54eb7c371556 (patch) | |
tree | 9673bdabc810a801c95cb64994d08d76712fd82f /chrome | |
parent | 96c247116d36960569f32ceac7433c7c3754facb (diff) | |
download | chromium_src-33d710276f0195db9c56cb5d785f54eb7c371556.zip chromium_src-33d710276f0195db9c56cb5d785f54eb7c371556.tar.gz chromium_src-33d710276f0195db9c56cb5d785f54eb7c371556.tar.bz2 |
Fix MSVC warning.
TBR=maruel
Review URL: http://codereview.chromium.org/18594
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/net/dns_master.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/net/dns_master.cc b/chrome/browser/net/dns_master.cc index c170e79..7a88b138 100644 --- a/chrome/browser/net/dns_master.cc +++ b/chrome/browser/net/dns_master.cc @@ -7,6 +7,7 @@ #include <algorithm> #include <sstream> +#include "base/compiler_specific.h" #include "base/histogram.h" #include "base/lock.h" #include "base/revocable_store.h" @@ -27,7 +28,8 @@ class DnsMaster::LookupRequest : RevocableStore::Revocable { public: LookupRequest(DnsMaster* master, const std::string& hostname) : RevocableStore::Revocable(&master->pending_callbacks_), - callback_(this, &LookupRequest::OnLookupFinished), + ALLOW_THIS_IN_INITIALIZER_LIST(callback_( + this, &LookupRequest::OnLookupFinished)), hostname_(hostname), master_(master) { } |