diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-06-04 16:28:57 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-06-06 11:00:11 +0200 |
commit | ed1df8472f1eb47aff0674a02c6698a750ed1bc7 (patch) | |
tree | 3db458603e982966d0820f51eb696378d640ddd5 | |
parent | 667e2ecb6ec91e0a3dacc9b6b46c725eb7dbeaab (diff) | |
download | qtwebengine-chromium-ed1df8472f1eb47aff0674a02c6698a750ed1bc7.tar.gz |
Disable crash-reports when reporting is disabled
Causes asserts on render process crashes otherwise.
Change-Id: I81a7ed3277752c20ab4fc06bd394faa8331d6933
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r-- | chromium/content/public/common/content_features.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/content/public/common/content_features.cc b/chromium/content/public/common/content_features.cc index 7add6fe50ca..2b583c5e388 100644 --- a/chromium/content/public/common/content_features.cc +++ b/chromium/content/public/common/content_features.cc @@ -121,7 +121,12 @@ const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", // Enables crash reporting via Reporting API. // https://www.w3.org/TR/reporting/#crash-report const base::Feature kCrashReporting{"CrashReporting", - base::FEATURE_ENABLED_BY_DEFAULT}; +#if BUILDFLAG(ENABLE_REPORTING) + base::FEATURE_ENABLED_BY_DEFAULT +#else + base::FEATURE_DISABLED_BY_DEFAULT +#endif +}; // Enables specification of a target element in the fragment identifier // via a CSS selector. |