fix: enable osr (#14074)
* fix: re-enable osr * fix: add changes from CEF to add MouseWheelPhaseHandler * fix: re-enable surface synchronization by applying fix from cef * update method call and enable AsyncWheelEvents var * fix: make BrowserCompositorMacGetGutterColor behave like chromium * fix: HANDLE only exists on windows * fix: pass correct params to mouse_wheel_phase_handler_ * fix variable accessing * revert: revert the workaround for disableHardwareAcceleration crash * fix: remove GuestViewCrossProcessFrames from the disabled features list * revert: remove check from BrowserChildProcessLaunchedAndConnected
This commit is contained in:
parent
0fc72f1924
commit
14ee5b3d3a
5 changed files with 99 additions and 36 deletions
|
@ -185,10 +185,6 @@ void BrowserMainParts::InitializeFeatureList() {
|
|||
cmd_line->GetSwitchValueASCII(switches::kEnableFeatures);
|
||||
auto disable_features =
|
||||
cmd_line->GetSwitchValueASCII(switches::kDisableFeatures);
|
||||
|
||||
// Disable surface synchronization and async wheel events to make OSR work.
|
||||
disable_features += ",SurfaceSynchronization,AsyncWheelEvents";
|
||||
|
||||
auto feature_list = std::make_unique<base::FeatureList>();
|
||||
feature_list->InitializeFromCommandLine(enable_features, disable_features);
|
||||
base::FeatureList::SetInstance(std::move(feature_list));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue