summaryrefslogtreecommitdiffstats
path: root/components/translate
diff options
context:
space:
mode:
Diffstat (limited to 'components/translate')
-rw-r--r--components/translate/content/browser/content_translate_driver.cc1
-rw-r--r--components/translate/content/browser/content_translate_driver.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/components/translate/content/browser/content_translate_driver.cc b/components/translate/content/browser/content_translate_driver.cc
index ab86100..f2db0fb 100644
--- a/components/translate/content/browser/content_translate_driver.cc
+++ b/components/translate/content/browser/content_translate_driver.cc
@@ -206,6 +206,7 @@ void ContentTranslateDriver::NavigationEntryCommitted(
}
void ContentTranslateDriver::DidNavigateAnyFrame(
+ content::RenderFrameHost* render_frame_host,
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) {
// Let the LanguageState clear its state.
diff --git a/components/translate/content/browser/content_translate_driver.h b/components/translate/content/browser/content_translate_driver.h
index 3bed413..196ebaf 100644
--- a/components/translate/content/browser/content_translate_driver.h
+++ b/components/translate/content/browser/content_translate_driver.h
@@ -91,6 +91,7 @@ class ContentTranslateDriver : public TranslateDriver,
virtual void NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) override;
virtual void DidNavigateAnyFrame(
+ content::RenderFrameHost* render_frame_host,
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) override;
virtual bool OnMessageReceived(const IPC::Message& message) override;