Skip to content

Commit

Permalink
Merge pull request #531 from brave/gpu
Browse files Browse the repository at this point in the history
Adjust GPU features to match Chrome
  • Loading branch information
bbondy committed Oct 1, 2018
1 parent 8fc3ccb commit 8e13481
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/brave_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 8e13481

Please sign in to comment.