From 784c06c7841580cae6ae5737118ac08108b7ef2d Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 12 Sep 2018 12:09:41 -0700 Subject: [PATCH] chore: remove unsupported DISABLE_NACL define --- brightray/BUILD.gn | 4 ---- brightray/common/main_delegate.cc | 3 --- 2 files changed, 7 deletions(-) diff --git a/brightray/BUILD.gn b/brightray/BUILD.gn index 91499d91c6..c83a61231e 100644 --- a/brightray/BUILD.gn +++ b/brightray/BUILD.gn @@ -16,10 +16,6 @@ static_library("brightray") { include_dirs = [ ".." ] - defines = [ - "DISABLE_NACL=1", - ] - if (is_linux) { deps += [ "//build/config/linux/gtk" ] } diff --git a/brightray/common/main_delegate.cc b/brightray/common/main_delegate.cc index 5a4ac56bee..b1930463c7 100644 --- a/brightray/common/main_delegate.cc +++ b/brightray/common/main_delegate.cc @@ -30,9 +30,6 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) { #if defined(OS_MACOSX) // Mac needs them too for scrollbar related images and for sandbox // profiles. -#if !defined(DISABLE_NACL) - process_type == switches::kNaClLoaderProcess || -#endif process_type == switches::kPpapiPluginProcess || process_type == switches::kPpapiBrokerProcess || process_type == switches::kGpuProcess ||