| Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| index e1a2a53e0ad72fd57de753eb2fc785b11674b643..d66c4cc66650c1b62ad564563ab614693df24cdb 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| @@ -27,10 +27,12 @@ struct AutocompleteEditViewMacState {
|
| };
|
|
|
| // Returns a lazily initialized property bag accessor for saving our
|
| -// state in a TabContents.
|
| +// state in a TabContents. When constructed |accessor| generates a
|
| +// globally-unique id used to index into the per-tab PropertyBag used
|
| +// to store the state data.
|
| PropertyAccessor<AutocompleteEditViewMacState>* GetStateAccessor() {
|
| - static PropertyAccessor<AutocompleteEditViewMacState> state;
|
| - return &state;
|
| + static PropertyAccessor<AutocompleteEditViewMacState> accessor;
|
| + return &accessor;
|
| }
|
|
|
| // Accessors for storing and getting the state from the tab.
|
|
|