diff options
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) { } |