| Index: chrome/browser/metrics/plugin_metrics_provider.cc
|
| diff --git a/chrome/browser/metrics/plugin_metrics_provider.cc b/chrome/browser/metrics/plugin_metrics_provider.cc
|
| index ebd235a596b0df345df8e5b786581d3058f8c793..aaa2f5fc9ab25b16e376c87e1c096a19d586b514 100644
|
| --- a/chrome/browser/metrics/plugin_metrics_provider.cc
|
| +++ b/chrome/browser/metrics/plugin_metrics_provider.cc
|
| @@ -144,8 +144,8 @@ void PluginMetricsProvider::ProvideStabilityMetrics(
|
| metrics::SystemProfileProto::Stability* stability =
|
| system_profile_proto->mutable_stability();
|
| for (const auto& value : *plugin_stats_list) {
|
| - base::DictionaryValue* plugin_dict;
|
| - if (!value->GetAsDictionary(&plugin_dict)) {
|
| + const base::DictionaryValue* plugin_dict;
|
| + if (!value.GetAsDictionary(&plugin_dict)) {
|
| NOTREACHED();
|
| continue;
|
| }
|
| @@ -210,9 +210,9 @@ void PluginMetricsProvider::RecordCurrentState() {
|
| base::ListValue* plugins = update.Get();
|
| DCHECK(plugins);
|
|
|
| - for (const auto& value : *plugins) {
|
| + for (auto& value : *plugins) {
|
| base::DictionaryValue* plugin_dict;
|
| - if (!value->GetAsDictionary(&plugin_dict)) {
|
| + if (!value.GetAsDictionary(&plugin_dict)) {
|
| NOTREACHED();
|
| continue;
|
| }
|
|
|