Index: net/proxy/dhcp_proxy_script_fetcher_win.h |
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win.h b/net/proxy/dhcp_proxy_script_fetcher_win.h |
index d490805c2b7aeac0b01abcd9875dcebc9b18b74a..fbe4a61638e41a68360f6cdd99fe1cf240046590 100644 |
--- a/net/proxy/dhcp_proxy_script_fetcher_win.h |
+++ b/net/proxy/dhcp_proxy_script_fetcher_win.h |
@@ -63,7 +63,6 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
: public base::RefCountedThreadSafe<AdapterQuery> { |
public: |
AdapterQuery(); |
- virtual ~AdapterQuery(); |
// This is the method that runs on the worker pool thread. |
void GetCandidateAdapterNames(); |
@@ -77,6 +76,9 @@ class NET_EXPORT_PRIVATE DhcpProxyScriptFetcherWin |
virtual bool ImplGetCandidateAdapterNames( |
std::set<std::string>* adapter_names); |
+ friend class base::RefCountedThreadSafe<AdapterQuery>; |
+ virtual ~AdapterQuery(); |
+ |
private: |
// This is constructed on the originating thread, then used on the |
// worker thread, then used again on the originating thread only when |