Commit c466fd23 authored by kylechar's avatar kylechar Committed by Commit Bot

webview: Disable VizDisplayCompositor feature.

The VizDisplayCompositor feature enables OOP-d which changes the display
compositor pipeline. WebView doesn't support OOP-D and any shared code
that checks the features status risks breaking if it's enabled.

Bug: 732555
Change-Id: Ibc84d53a0ca4691ba7fadd10ed362244fb2b0e7a
Reviewed-on: https://chromium-review.googlesource.com/1177630Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583828}
parent 6626eab7
......@@ -36,6 +36,7 @@
#include "components/safe_browsing/android/safe_browsing_api_handler_bridge.h"
#include "components/services/heap_profiling/public/cpp/allocator_shim.h"
#include "components/spellcheck/spellcheck_buildflags.h"
#include "components/viz/common/features.h"
#include "content/public/browser/android/browser_media_player_manager_register.h"
#include "content/public/browser/browser_main_runner.h"
#include "content/public/browser/browser_thread.h"
......@@ -161,6 +162,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
CommandLineHelper::AddDisabledFeature(*cl, features::kWebPayments.name);
// WebView isn't compatible with OOP-D.
CommandLineHelper::AddDisabledFeature(*cl,
features::kVizDisplayCompositor.name);
// WebView does not support AndroidOverlay yet for video overlays.
CommandLineHelper::AddDisabledFeature(*cl, media::kUseAndroidOverlay.name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment