diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h index 0416328..0193b8c 100644 --- a/chrome/browser/autocomplete/autocomplete.h +++ b/chrome/browser/autocomplete/autocomplete.h @@ -483,8 +483,6 @@ class AutocompleteProvider name_(name) { } - virtual ~AutocompleteProvider(); - // Invoked when the profile changes. // NOTE: Do not access any previous Profile* at this point as it may have // already been deleted. @@ -538,6 +536,10 @@ class AutocompleteProvider static size_t max_matches() { return max_matches_; } protected: + friend class base::RefCountedThreadSafe<AutocompleteProvider>; + + virtual ~AutocompleteProvider(); + // Trims "http:" and up to two subsequent slashes from |url|. Returns the // number of characters that were trimmed. static size_t TrimHttpPrefix(std::wstring* url); |