| Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (revision 33932)
|
| +++ chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (working copy)
|
| @@ -69,9 +69,11 @@
|
| };
|
|
|
| void RecordSafeBrowsingBlockingPageStats(SafeBrowsingBlockingPageEvent event) {
|
| - static LinearHistogram histogram("interstial.safe_browsing", 0, 2, 3);
|
| - histogram.SetFlags(kUmaTargetedHistogramFlag);
|
| - histogram.Add(event);
|
| + static scoped_refptr<Histogram> histogram =
|
| + LinearHistogram::LinearHistogramFactoryGet("interstial.safe_browsing",
|
| + 1, 2, 3);
|
| + histogram->SetFlags(kUmaTargetedHistogramFlag);
|
| + histogram->Add(event);
|
| }
|
|
|
| } // namespace
|
|
|