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