Update OSR code
This commit is contained in:
parent
91d16c9b3a
commit
65b8dd48d8
12 changed files with 187 additions and 182 deletions
|
@ -181,7 +181,10 @@ void OverrideAppLogsPath() {
|
|||
int BrowserMainParts::PreEarlyInitialization() {
|
||||
std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
|
||||
// TODO(deepak1556): Disable guest webcontents based on OOPIF feature.
|
||||
feature_list->InitializeFromCommandLine("", "GuestViewCrossProcessFrames");
|
||||
// Disable surface synchronization and async wheel events to make OSR work.
|
||||
feature_list->InitializeFromCommandLine(
|
||||
"",
|
||||
"GuestViewCrossProcessFrames,SurfaceSynchronization,AsyncWheelEvents");
|
||||
base::FeatureList::SetInstance(std::move(feature_list));
|
||||
OverrideAppLogsPath();
|
||||
#if defined(USE_X11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue