| Index: net/base/sdch_manager.cc
|
| ===================================================================
|
| --- net/base/sdch_manager.cc (revision 33932)
|
| +++ net/base/sdch_manager.cc (working copy)
|
| @@ -32,10 +32,11 @@
|
|
|
| // static
|
| void SdchManager::SdchErrorRecovery(ProblemCodes problem) {
|
| - static LinearHistogram histogram("Sdch3.ProblemCodes_4", MIN_PROBLEM_CODE,
|
| - MAX_PROBLEM_CODE - 1, MAX_PROBLEM_CODE);
|
| - histogram.SetFlags(kUmaTargetedHistogramFlag);
|
| - histogram.Add(problem);
|
| + static scoped_refptr<Histogram> histogram =
|
| + LinearHistogram::LinearHistogramFactoryGet("Sdch3.ProblemCodes_4",
|
| + MIN_PROBLEM_CODE + 1, MAX_PROBLEM_CODE - 1, MAX_PROBLEM_CODE);
|
| + histogram->SetFlags(kUmaTargetedHistogramFlag);
|
| + histogram->Add(problem);
|
| }
|
|
|
| // static
|
|
|