diff --git a/build/commands/lib/config.js b/build/commands/lib/config.js index b3406a6b6cc..db606d5df06 100644 --- a/build/commands/lib/config.js +++ b/build/commands/lib/config.js @@ -431,16 +431,6 @@ Config.prototype.buildArgs = function () { generate_about_credits: true, } - const danglingPtrEnabledPlatforms = ['android', 'linux', 'mac', 'ios'] - - if (!danglingPtrEnabledPlatforms.includes(this.getTargetOS())) { - // We explicitly disabled the check for certain other OSes, while leaving - // it as whatever is the default on the ones we've managed to get the - // detector properly running. - args.enable_dangling_raw_ptr_feature_flag = false - } - - if (!this.isBraveReleaseBuild()) { args.chrome_pgo_phase = 0