| Index: components/translate/core/browser/resources/translate.js
|
| diff --git a/components/translate/core/browser/resources/translate.js b/components/translate/core/browser/resources/translate.js
|
| index fb59e6601b97f3558e04db5dab758d9b98149dec..79c579342531c9bce86a66ca16d3e7a6db98738c 100644
|
| --- a/components/translate/core/browser/resources/translate.js
|
| +++ b/components/translate/core/browser/resources/translate.js
|
| @@ -258,12 +258,15 @@ cr.googleTranslate = (function() {
|
| lib = google.translate.TranslateService({
|
| // translateApiKey is predefined by translate_script.cc.
|
| 'key': translateApiKey,
|
| + 'serverParams': serverParams,
|
| 'useSecureConnection': true
|
| });
|
| translateApiKey = undefined;
|
| + serverParams = undefined;
|
| } catch (err) {
|
| errorCode = ERROR['INITIALIZATION_ERROR'];
|
| translateApiKey = undefined;
|
| + serverParams = undefined;
|
| return;
|
| }
|
| // The TranslateService is not available immediately as it needs to start
|
|
|