summaryrefslogtreecommitdiff
path: root/chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc')
-rw-r--r--chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc b/chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc
index 2e9741905ac..b203cee28a2 100644
--- a/chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc
+++ b/chromium/components/safe_browsing/content/browser/triggers/trigger_throttler.cc
@@ -198,7 +198,7 @@ void TriggerThrottler::LoadTriggerEventsFromPref() {
if (!local_state_prefs_)
return;
- const base::DictionaryValue* event_dict = local_state_prefs_->GetDictionary(
+ const base::Value* event_dict = local_state_prefs_->GetDictionary(
prefs::kSafeBrowsingTriggerEventTimestamps);
for (auto trigger_pair : event_dict->DictItems()) {
// Check that the first item in the pair is convertible to a trigger type
@@ -213,7 +213,7 @@ void TriggerThrottler::LoadTriggerEventsFromPref() {
continue;
const TriggerType trigger_type = static_cast<TriggerType>(trigger_type_int);
- for (const auto& timestamp : trigger_pair.second.GetList()) {
+ for (const auto& timestamp : trigger_pair.second.GetListDeprecated()) {
if (timestamp.is_double())
trigger_events_[trigger_type].push_back(
base::Time::FromDoubleT(timestamp.GetDouble()));