| Index: components/translate/ios/browser/language_detection_controller.mm
|
| diff --git a/components/translate/ios/browser/language_detection_controller.mm b/components/translate/ios/browser/language_detection_controller.mm
|
| index 53fda593ac110e41e0598d2e511b2b323a19d5d9..92e94c3af548c2756f0aef536cf4be80d1e7c1b5 100644
|
| --- a/components/translate/ios/browser/language_detection_controller.mm
|
| +++ b/components/translate/ios/browser/language_detection_controller.mm
|
| @@ -140,7 +140,7 @@ void LanguageDetectionController::PageLoaded(
|
|
|
| void LanguageDetectionController::DidFinishNavigation(
|
| web::NavigationContext* navigation_context) {
|
| - if (navigation_context->IsSamePage())
|
| + if (navigation_context->IsSameDocument())
|
| StartLanguageDetection();
|
| }
|
|
|
|
|