Files
brave-core/patches/components-translate-content-renderer-translate_agent.cc.patch

14 lines
719 B
Diff

diff --git a/components/translate/content/renderer/translate_agent.cc b/components/translate/content/renderer/translate_agent.cc
index 3699e1d471125c16404095b71411b98b6f4a19d2..4d30ef39e1aea27b7f8e0b994461ddafcbcade96 100644
--- a/components/translate/content/renderer/translate_agent.cc
+++ b/components/translate/content/renderer/translate_agent.cc
@@ -61,7 +61,7 @@ const int kTranslateInitCheckDelayMs = 150;
// The maximum number of times we'll check to see if the translate library
// injected in the page is ready.
-const int kMaxTranslateInitCheckAttempts = 5;
+const int kMaxTranslateInitCheckAttempts = 11;
// The delay we wait in milliseconds before checking whether the translation has
// finished.