mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-06 04:38:22 +01:00
widevine: Fix ARM compile error due to unused variable (see issue #3149)
alloy_browser_main.cc:223:17: error: unused variable 'cus' [-Werror,-Wunused-variable] auto* const cus = g_browser_process->component_updater();
This commit is contained in:
parent
240b869db5
commit
17d2d13030
@ -217,6 +217,8 @@ int AlloyBrowserMainParts::PreMainMessageLoopRun() {
|
||||
|
||||
scheme::RegisterWebUIControllerFactory();
|
||||
|
||||
#if BUILDFLAG(ENABLE_MEDIA_FOUNDATION_WIDEVINE_CDM) || \
|
||||
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
|
||||
const base::CommandLine* command_line =
|
||||
base::CommandLine::ForCurrentProcess();
|
||||
if (!command_line->HasSwitch(switches::kDisableComponentUpdate)) {
|
||||
@ -230,6 +232,7 @@ int AlloyBrowserMainParts::PreMainMessageLoopRun() {
|
||||
RegisterWidevineCdmComponent(cus);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
return content::RESULT_CODE_NORMAL_EXIT;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user