mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
fixme: disable pepper flash
This commit is contained in:
committed by
Jeremy Apthorp
parent
7aa01bc00a
commit
80ffc26713
@@ -210,8 +210,8 @@ void AtomContentClient::AddAdditionalSchemes(Schemes* schemes) {
|
|||||||
|
|
||||||
void AtomContentClient::AddPepperPlugins(
|
void AtomContentClient::AddPepperPlugins(
|
||||||
std::vector<content::PepperPluginInfo>* plugins) {
|
std::vector<content::PepperPluginInfo>* plugins) {
|
||||||
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
|
||||||
#if BUILDFLAG(ENABLE_PEPPER_FLASH)
|
#if BUILDFLAG(ENABLE_PEPPER_FLASH)
|
||||||
|
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
||||||
AddPepperFlashFromCommandLine(command_line, plugins);
|
AddPepperFlashFromCommandLine(command_line, plugins);
|
||||||
#endif // BUILDFLAG(ENABLE_PEPPER_FLASH)
|
#endif // BUILDFLAG(ENABLE_PEPPER_FLASH)
|
||||||
ComputeBuiltInPlugins(plugins);
|
ComputeBuiltInPlugins(plugins);
|
||||||
|
|||||||
@@ -21,5 +21,5 @@ declare_args() {
|
|||||||
enable_fake_location_provider = !is_official_build
|
enable_fake_location_provider = !is_official_build
|
||||||
|
|
||||||
# Enable flash plugin support.
|
# Enable flash plugin support.
|
||||||
enable_pepper_flash = true
|
enable_pepper_flash = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user