| Index: net/dns/dns_client.cc
|
| diff --git a/net/dns/dns_client.cc b/net/dns/dns_client.cc
|
| index de96c02622116992853066e6058845e33a6e571b..f3980dfc5cc9567679ea36abd53947a26af43d99 100644
|
| --- a/net/dns/dns_client.cc
|
| +++ b/net/dns/dns_client.cc
|
| @@ -24,7 +24,7 @@ class DnsClientImpl : public DnsClient {
|
| : address_sorter_(AddressSorter::CreateAddressSorter()),
|
| net_log_(net_log) {}
|
|
|
| - virtual void SetConfig(const DnsConfig& config) override {
|
| + void SetConfig(const DnsConfig& config) override {
|
| factory_.reset();
|
| session_ = NULL;
|
| if (config.IsValid() && !config.unhandled_options) {
|
| @@ -40,17 +40,15 @@ class DnsClientImpl : public DnsClient {
|
| }
|
| }
|
|
|
| - virtual const DnsConfig* GetConfig() const override {
|
| + const DnsConfig* GetConfig() const override {
|
| return session_.get() ? &session_->config() : NULL;
|
| }
|
|
|
| - virtual DnsTransactionFactory* GetTransactionFactory() override {
|
| + DnsTransactionFactory* GetTransactionFactory() override {
|
| return session_.get() ? factory_.get() : NULL;
|
| }
|
|
|
| - virtual AddressSorter* GetAddressSorter() override {
|
| - return address_sorter_.get();
|
| - }
|
| + AddressSorter* GetAddressSorter() override { return address_sorter_.get(); }
|
|
|
| private:
|
| scoped_refptr<DnsSession> session_;
|
|
|