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 496b1fb7531809c3e897ec076abf58489dc075f4..ad5b5a18081e3f4cdec0c5a45e2b38dd1da450ae 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -8,6 +8,7 @@ |
#include "chrome/browser/bookmarks/bookmark_model.h" |
#include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
#include "chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h" |
+#include "chrome/browser/file_select_helper.h" |
#include "chrome/browser/password_manager/password_manager.h" |
#include "chrome/browser/password_manager_delegate_impl.h" |
#include "chrome/browser/prefs/pref_service.h" |
@@ -56,6 +57,8 @@ TabContentsWrapper::TabContentsWrapper(TabContents* contents) |
registrar_.Add(this, NotificationType::BOOKMARK_MODEL_LOADED, |
NotificationService::AllSources()); |
+ // Create the per-tab observers. |
+ file_select_observer_.reset(new FileSelectObserver(contents)); |
prerender_observer_.reset(new prerender::PrerenderObserver(contents)); |
} |