blob: 1050c6a0e20df96e48b5c19a09c2579d8f35b71e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- content/test/content_test_suite.cc.orig 2021-03-12 23:57:24 UTC
+++ content/test/content_test_suite.cc
@@ -83,6 +83,7 @@ void ContentTestSuite::Initialize() {
// to initialize GL, so don't do it here.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
bool is_child_process = command_line->HasSwitch(switches::kTestChildProcess);
+#if !defined(OS_BSD)
if (!is_child_process) {
gl::GLSurfaceTestSupport::InitializeNoExtensionsOneOff();
auto* gpu_feature_info = gpu::GetTestGpuThreadHolder()->GetGpuFeatureInfo();
@@ -90,6 +91,7 @@ void ContentTestSuite::Initialize() {
gpu_feature_info->disabled_extensions);
gl::init::InitializeExtensionSettingsOneOffPlatform();
}
+#endif
// TestEventListeners repeater event propagation is disabled in death test
// child process.
if (command_line->HasSwitch("gtest_internal_run_death_test")) {
|