mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Disable histogram bad minimum warning (see https://crbug.com/1288842#c29)
This commit is contained in:
14
patch/patches/base_metrics_1288842.patch
Normal file
14
patch/patches/base_metrics_1288842.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git base/metrics/histogram.cc base/metrics/histogram.cc
|
||||
index aa8973128e806..884723c48c552 100644
|
||||
--- base/metrics/histogram.cc
|
||||
+++ base/metrics/histogram.cc
|
||||
@@ -442,7 +442,8 @@ bool Histogram::InspectConstructionArguments(StringPiece name,
|
||||
|
||||
// Defensive code for backward compatibility.
|
||||
if (*minimum < 1) {
|
||||
- DLOG(ERROR) << "Histogram: " << name << " has bad minimum: " << *minimum;
|
||||
+ // TODO(crbug.com/1288842): Temporarily disabled during cleanup.
|
||||
+ // DLOG(ERROR) << "Histogram: " << name << " has bad minimum: " << *minimum;
|
||||
*minimum = 1;
|
||||
if (*maximum < 1)
|
||||
*maximum = 1;
|
Reference in New Issue
Block a user