Commit 0f43eeab authored by Khushal's avatar Khushal Committed by Commit Bot

android_webview: Disable SurfaceControl on webview.

There is no framework support to use SurfaceControl on webview.

R=boliu@chromium.org

Bug: 889328
Change-Id: I0f3bc51d7cc7c1a1207e52eaa31f8c8a0625a4df
Reviewed-on: https://chromium-review.googlesource.com/c/1489257Reviewed-by: default avatarBo <boliu@chromium.org>
Commit-Queue: Khushal <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#635671}
parent 15f31193
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include "gin/public/isolate_holder.h" #include "gin/public/isolate_holder.h"
#include "gin/v8_initializer.h" #include "gin/v8_initializer.h"
#include "gpu/command_buffer/service/gpu_switches.h" #include "gpu/command_buffer/service/gpu_switches.h"
#include "gpu/config/gpu_finch_features.h"
#include "gpu/ipc/gl_in_process_context.h" #include "gpu/ipc/gl_in_process_context.h"
#include "media/base/media_switches.h" #include "media/base/media_switches.h"
#include "media/media_buildflags.h" #include "media/media_buildflags.h"
...@@ -200,6 +201,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { ...@@ -200,6 +201,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
CommandLineHelper::AddDisabledFeature(*cl, features::kBackgroundFetch.name); CommandLineHelper::AddDisabledFeature(*cl, features::kBackgroundFetch.name);
CommandLineHelper::AddDisabledFeature(*cl,
features::kAndroidSurfaceControl.name);
android_webview::RegisterPathProvider(); android_webview::RegisterPathProvider();
safe_browsing_api_handler_.reset( safe_browsing_api_handler_.reset(
......
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