Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
index 78843dc8460afb4d4da4f74d3a648abfaa12fe5d..8d951171f114ffc6735d371ee98815cf17a87bc1 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -247,7 +247,7 @@ TabContentsWrapper::TabContentsWrapper(TabContents* contents) |
// Create the tab helpers. |
autocomplete_history_manager_.reset(new AutocompleteHistoryManager(contents)); |
- autofill_manager_.reset(new AutofillManager(this)); |
+ autofill_manager_ = new AutofillManager(this); |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kExternalAutofillPopup)) { |
autofill_external_delegate_.reset( |