Index: chrome/renderer/chrome_render_view_observer.cc |
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc |
index 163201364125a21c76da29924e2b622c7b95ce94..8a39f354fe1e82ef72c743ee13327ca886ee34a6 100644 |
--- a/chrome/renderer/chrome_render_view_observer.cc |
+++ b/chrome/renderer/chrome_render_view_observer.cc |
@@ -353,6 +353,9 @@ void ChromeRenderViewObserver::Navigate(const GURL& url) { |
// event (including tab reload). |
if (chrome_render_process_observer_) |
chrome_render_process_observer_->ExecutePendingClearCache(); |
+ // Let translate_helper do any preparatory work for loading a URL. |
+ if (translate_helper_) |
+ translate_helper_->PrepareForUrl(url); |
} |
void ChromeRenderViewObserver::OnSetClientSidePhishingDetection( |