Browse Source

fixme: disable pepper flash

Samuel Attard 6 years ago
parent
commit
80ffc26713
2 changed files with 2 additions and 2 deletions
  1. 1 1
      atom/app/atom_content_client.cc
  2. 1 1
      buildflags/buildflags.gni

+ 1 - 1
atom/app/atom_content_client.cc

@@ -210,8 +210,8 @@ void AtomContentClient::AddAdditionalSchemes(Schemes* schemes) {
 
 void AtomContentClient::AddPepperPlugins(
     std::vector<content::PepperPluginInfo>* plugins) {
-  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
 #if BUILDFLAG(ENABLE_PEPPER_FLASH)
+  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
   AddPepperFlashFromCommandLine(command_line, plugins);
 #endif  // BUILDFLAG(ENABLE_PEPPER_FLASH)
   ComputeBuiltInPlugins(plugins);

+ 1 - 1
buildflags/buildflags.gni

@@ -21,5 +21,5 @@ declare_args() {
   enable_fake_location_provider = !is_official_build
 
   # Enable flash plugin support.
-  enable_pepper_flash = true
+  enable_pepper_flash = false
 }