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 e11f3a283eee37e630a10ccedbcea4d9789f5c90..b864cc6d6c66b02af944e0777aa8cd2c259c851a 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -81,7 +81,9 @@ TabContentsWrapper::TabContentsWrapper(WebContents* contents) |
autocomplete_history_manager_->SetExternalDelegate( |
autofill_external_delegate_.get()); |
} |
+#if defined(ENABLE_AUTOMATION) |
automation_tab_helper_.reset(new AutomationTabHelper(contents)); |
+#endif |
blocked_content_tab_helper_.reset(new BlockedContentTabHelper(this)); |
bookmark_tab_helper_.reset(new BookmarkTabHelper(this)); |
constrained_window_tab_helper_.reset(new ConstrainedWindowTabHelper(this)); |