From 6a84c5adb2df83a035cb77b64739eabb559fa648 Mon Sep 17 00:00:00 2001 From: Jocelyn Liu Date: Thu, 30 May 2019 20:00:32 -0700 Subject: [PATCH] Fix undefined kTranslateUI symbol link error on windows --- app/brave_main_delegate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/brave_main_delegate.cc b/app/brave_main_delegate.cc index fefd01ef52c1..eb1ef2193677 100644 --- a/app/brave_main_delegate.cc +++ b/app/brave_main_delegate.cc @@ -151,8 +151,8 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) { autofill::features::kAutofillServerCommunication.name, network::features::kNetworkService.name, unified_consent::kUnifiedConsent.name, -#if !BUILDFLAG(ENABLE_BRAVE_TRANSLATE) - translate::kTranslateUI.name, +#if !defined(CHROME_MULTIPLE_DLL_CHILD) && !BUILDFLAG(ENABLE_BRAVE_TRANSLATE) + translate::kTranslateUI.name, // only available in browser process #endif }; command_line.AppendFeatures(enabled_features, disabled_features);