mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02: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:
@@ -217,6 +217,8 @@ int AlloyBrowserMainParts::PreMainMessageLoopRun() {
|
|||||||
|
|
||||||
scheme::RegisterWebUIControllerFactory();
|
scheme::RegisterWebUIControllerFactory();
|
||||||
|
|
||||||
|
#if BUILDFLAG(ENABLE_MEDIA_FOUNDATION_WIDEVINE_CDM) || \
|
||||||
|
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
|
||||||
const base::CommandLine* command_line =
|
const base::CommandLine* command_line =
|
||||||
base::CommandLine::ForCurrentProcess();
|
base::CommandLine::ForCurrentProcess();
|
||||||
if (!command_line->HasSwitch(switches::kDisableComponentUpdate)) {
|
if (!command_line->HasSwitch(switches::kDisableComponentUpdate)) {
|
||||||
@@ -230,6 +232,7 @@ int AlloyBrowserMainParts::PreMainMessageLoopRun() {
|
|||||||
RegisterWidevineCdmComponent(cus);
|
RegisterWidevineCdmComponent(cus);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return content::RESULT_CODE_NORMAL_EXIT;
|
return content::RESULT_CODE_NORMAL_EXIT;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user