Index: net/base/mock_host_resolver.h |
diff --git a/net/base/mock_host_resolver.h b/net/base/mock_host_resolver.h |
index 44667f4d5459ff946fc742cd3e74200434dc6789..b9e2f2836d55c63c39e6a1d2df88bd1590b3330d 100644 |
--- a/net/base/mock_host_resolver.h |
+++ b/net/base/mock_host_resolver.h |
@@ -95,7 +95,7 @@ class MockHostResolver : public MockHostResolverBase { |
class MockCachingHostResolver : public MockHostResolverBase { |
public: |
MockCachingHostResolver() : MockHostResolverBase(true /*use_caching*/) {} |
- ~MockCachingHostResolver() {} |
+ virtual ~MockCachingHostResolver() {} |
}; |
// RuleBasedHostResolverProc applies a set of rules to map a host string to |
@@ -147,7 +147,7 @@ class NET_TEST RuleBasedHostResolverProc : public HostResolverProc { |
struct Rule; |
typedef std::list<Rule> RuleList; |
- ~RuleBasedHostResolverProc(); |
+ virtual ~RuleBasedHostResolverProc(); |
RuleList rules_; |
}; |