Index: chrome/browser/translate/translate_manager_browsertest.cc |
diff --git a/chrome/browser/translate/translate_manager_browsertest.cc b/chrome/browser/translate/translate_manager_browsertest.cc |
index 1d4e4fc7098e6fcf11bf3f049ef7c322d5407501..573f99c2302f42f8afd2ee78983d3b2b7e03c9af 100644 |
--- a/chrome/browser/translate/translate_manager_browsertest.cc |
+++ b/chrome/browser/translate/translate_manager_browsertest.cc |
@@ -112,10 +112,12 @@ class TranslateManagerBrowserTest : public ChromeRenderViewHostTestHarness, |
void SimulateOnTranslateLanguageDetermined(const std::string& lang, |
bool page_translatable) { |
+ LanguageDetectionDetails details; |
+ details.adopted_language = lang; |
RenderViewHostTester::TestOnMessageReceived( |
rvh(), |
ChromeViewHostMsg_TranslateLanguageDetermined( |
- 0, lang, page_translatable)); |
+ 0, details, page_translatable)); |
} |
bool GetTranslateMessage(int* page_id, |