diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2019-04-05 12:01:25 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2019-04-05 12:01:25 +0000 |
commit | d90bf58cf83c548d4ed98f8c6ee55a6b84af0834 (patch) | |
tree | e364221b071fc7af079027aa7e6ac3d25435767a /www/chromium/files/patch-content_test_content__test__suite.cc | |
parent | Update CMake to latest release, 3.14.1 (diff) |
www/chromium: Update to 73.0.3683.86
- Make existing patches apply cleanly
Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000
Submitted by: Matthias Wolf
MFH: 2019Q2
Diffstat (limited to 'www/chromium/files/patch-content_test_content__test__suite.cc')
-rw-r--r-- | www/chromium/files/patch-content_test_content__test__suite.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_test_content__test__suite.cc b/www/chromium/files/patch-content_test_content__test__suite.cc new file mode 100644 index 000000000000..230f8ca92226 --- /dev/null +++ b/www/chromium/files/patch-content_test_content__test__suite.cc @@ -0,0 +1,18 @@ +--- content/test/content_test_suite.cc.orig 2019-03-11 22:00:58 UTC ++++ content/test/content_test_suite.cc +@@ -85,6 +85,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(); +@@ -92,6 +93,7 @@ void ContentTestSuite::Initialize() { + gpu_feature_info->disabled_extensions); + gl::init::InitializeExtensionSettingsOneOffPlatform(); + } ++#endif + testing::TestEventListeners& listeners = + testing::UnitTest::GetInstance()->listeners(); + listeners.Append(new TestInitializationListener); |