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 333369703483479299e62a6efdc78a066e7369db..d5171e44421ed0df99fa43d3d2a543ca368f9239 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)); |