Index: chrome/browser/translate/chrome_translate_client.cc |
diff --git a/chrome/browser/translate/chrome_translate_client.cc b/chrome/browser/translate/chrome_translate_client.cc |
index 5cbebe21353609efe2e820ef5dbbed18bc090ad5..76496a4a508ebc0e59fd54164805f3e7524bb840 100644 |
--- a/chrome/browser/translate/chrome_translate_client.cc |
+++ b/chrome/browser/translate/chrome_translate_client.cc |
@@ -331,10 +331,8 @@ void ChromeTranslateClient::ShowBubble( |
// because the bubble takes the focus from the other widgets including the |
// browser windows. So it is checked that |browser| is the last activated |
// browser, not is now activated. |
- if (browser != |
- chrome::FindLastActiveWithHostDesktopType(browser->host_desktop_type())) { |
+ if (browser != chrome::FindLastActive()) |
return; |
- } |
// During auto-translating, the bubble should not be shown. |
if (step == translate::TRANSLATE_STEP_TRANSLATING || |