summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/ppapi/ppb_uma_private_impl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/plugins/ppapi/ppb_uma_private_impl.cc b/webkit/plugins/ppapi/ppb_uma_private_impl.cc
index ec85c16..fb30a06 100644
--- a/webkit/plugins/ppapi/ppb_uma_private_impl.cc
+++ b/webkit/plugins/ppapi/ppb_uma_private_impl.cc
@@ -36,13 +36,13 @@ void HistogramCustomTimes(PP_Var name,
StringVar* name_string = StringVar::FromPPVar(name);
if (name_string == NULL)
return;
- base::Histogram* counter =
+ base::HistogramBase* counter =
base::Histogram::FactoryTimeGet(
name_string->value(),
base::TimeDelta::FromMilliseconds(min),
base::TimeDelta::FromMilliseconds(max),
bucket_count,
- base::Histogram::kUmaTargetedHistogramFlag);
+ base::HistogramBase::kUmaTargetedHistogramFlag);
counter->AddTime(base::TimeDelta::FromMilliseconds(sample));
}
@@ -55,13 +55,13 @@ void HistogramCustomCounts(PP_Var name,
StringVar* name_string = StringVar::FromPPVar(name);
if (name_string == NULL)
return;
- base::Histogram* counter =
+ base::HistogramBase* counter =
base::Histogram::FactoryGet(
name_string->value(),
min,
max,
bucket_count,
- base::Histogram::kUmaTargetedHistogramFlag);
+ base::HistogramBase::kUmaTargetedHistogramFlag);
counter->Add(sample);
}
@@ -73,13 +73,13 @@ void HistogramEnumeration(PP_Var name,
StringVar* name_string = StringVar::FromPPVar(name);
if (name_string == NULL)
return;
- base::Histogram* counter =
+ base::HistogramBase* counter =
base::LinearHistogram::FactoryGet(
name_string->value(),
1,
boundary_value,
boundary_value + 1,
- base::Histogram::kUmaTargetedHistogramFlag);
+ base::HistogramBase::kUmaTargetedHistogramFlag);
counter->Add(sample);
}