| Index: chrome/browser/ui/views/translate/translate_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.cc b/chrome/browser/ui/views/translate/translate_bubble_view.cc
|
| index b291c6e5c0a954f7ce7eb63239f1712b80dc8a6f..ed17152611cc6ff037cce47e05a415b06ef4e8a2 100644
|
| --- a/chrome/browser/ui/views/translate/translate_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/translate/translate_bubble_view.cc
|
| @@ -139,17 +139,6 @@ void TranslateBubbleView::ShowBubble(views::View* anchor_view,
|
| content::WebContents* web_contents,
|
| TranslateBubbleModel::ViewState type,
|
| TranslateErrors::Type error_type) {
|
| - // During auto-translating, the bubble should not be shown.
|
| - if (type == TranslateBubbleModel::VIEW_STATE_TRANSLATING ||
|
| - type == TranslateBubbleModel::VIEW_STATE_AFTER_TRANSLATE) {
|
| - TranslateTabHelper* translate_tab_helper =
|
| - TranslateTabHelper::FromWebContents(web_contents);
|
| - if (!translate_tab_helper ||
|
| - translate_tab_helper->language_state().InTranslateNavigation()) {
|
| - return;
|
| - }
|
| - }
|
| -
|
| if (IsShowing()) {
|
| // When the user reads the advanced setting panel, the bubble should not be
|
| // changed because he/she is focusing on the bubble.
|
|
|