Skip to content

Commit

Permalink
Merge pull request #2557 from brave/fix_translate_win_link_error
Browse files Browse the repository at this point in the history
Fix undefined kTranslateUI symbol link error on windows release build
  • Loading branch information
yrliou authored May 31, 2019
2 parents 75e227a + 6a84c5a commit dee7af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/brave_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dee7af4

Please sign in to comment.