From 8e1348182dddf2fad96b859a1a1094cd10edd6b7 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 1 Oct 2018 12:54:12 -0400 Subject: [PATCH] Merge pull request #531 from brave/gpu Adjust GPU features to match Chrome --- app/brave_main_delegate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/brave_main_delegate.cc b/app/brave_main_delegate.cc index 97d0b560b96b..d6f95f1e0e7d 100644 --- a/app/brave_main_delegate.cc +++ b/app/brave_main_delegate.cc @@ -21,8 +21,10 @@ #include "chrome/common/chrome_paths_internal.h" #include "chrome/common/chrome_switches.h" #include "components/password_manager/core/common/password_manager_features.h" +#include "components/viz/common/features.h" #include "content/public/common/content_features.h" #include "extensions/common/extension_features.h" +#include "gpu/config/gpu_finch_features.h" #include "ui/base/ui_base_features.h" #if !defined(CHROME_MULTIPLE_DLL_BROWSER) @@ -129,7 +131,9 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) { << "," << extensions::features::kNewExtensionUpdaterService.name; std::stringstream disabled_features; - disabled_features << features::kSharedArrayBuffer.name; + disabled_features << features::kSharedArrayBuffer.name + << "," << features::kDefaultEnableOopRasterization.name + << "," << features::kVizDisplayCompositor.name; command_line.AppendSwitchASCII(switches::kEnableFeatures, enabled_features.str());