Index: net/proxy/proxy_resolver_v8.h |
diff --git a/net/proxy/proxy_resolver_v8.h b/net/proxy/proxy_resolver_v8.h |
index a310460144768f7ad5e2b71b04143f6281ffb300..823e93a08cde9c70c70e02df077f34c624a1cac9 100644 |
--- a/net/proxy/proxy_resolver_v8.h |
+++ b/net/proxy/proxy_resolver_v8.h |
@@ -45,8 +45,6 @@ class NET_EXPORT_PRIVATE ProxyResolverV8 : public ProxyResolver { |
JSBindings() {} |
- virtual ~JSBindings() {} |
- |
// Handler for "dnsResolve()", "dnsResolveEx()", "myIpAddress()", |
// "myIpAddressEx()". Returns true on success and fills |*output| with the |
// result. |
@@ -60,6 +58,9 @@ class NET_EXPORT_PRIVATE ProxyResolverV8 : public ProxyResolver { |
// Handler for when an error is encountered. |line_number| may be -1 |
// if a line number is not applicable to this error. |
virtual void OnError(int line_number, const string16& error) = 0; |
+ |
+ protected: |
+ virtual ~JSBindings() {} |
}; |
// Constructs a ProxyResolverV8. |