diff options
Diffstat (limited to 'chrome/renderer/translate/page_translator_unittest.cc')
-rw-r--r-- | chrome/renderer/translate/page_translator_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/translate/page_translator_unittest.cc b/chrome/renderer/translate/page_translator_unittest.cc index 4ab6c482..4bc1e02 100644 --- a/chrome/renderer/translate/page_translator_unittest.cc +++ b/chrome/renderer/translate/page_translator_unittest.cc @@ -168,8 +168,8 @@ TEST_F(TranslatorTest, DISABLED_TranslatePages) { // Translate it. ReverseTextTranslator text_translator; - PageTranslator translator(&text_translator, NULL); - translator.Translate(0, web_frame, "en", "fr"); + PageTranslator translator(&text_translator); + translator.Translate(web_frame, "en", "fr"); // Translation is asynchronous, so we need to process the pending messages // to make it happen. |