summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h
index 20697b8..d22628b 100644
--- a/chrome/browser/autocomplete/autocomplete.h
+++ b/chrome/browser/autocomplete/autocomplete.h
@@ -480,6 +480,8 @@ class AutocompleteProvider
virtual ~AutocompleteProvider();
// Invoked when the profile changes.
+ // NOTE: Do not access any previous Profile* at this point as it may have
+ // already been deleted.
void SetProfile(Profile* profile);
// Called to start an autocomplete query. The provider is responsible for