summaryrefslogtreecommitdiffstats
path: root/src/core/platform_notification_service_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/platform_notification_service_qt.cpp')
-rw-r--r--src/core/platform_notification_service_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/platform_notification_service_qt.cpp b/src/core/platform_notification_service_qt.cpp
index dff3aed61..f3457c7aa 100644
--- a/src/core/platform_notification_service_qt.cpp
+++ b/src/core/platform_notification_service_qt.cpp
@@ -201,7 +201,7 @@ int64_t PlatformNotificationServiceQt::ReadNextPersistentNotificationId(content:
Q_ASSERT(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
auto prefs = static_cast<ProfileQt *>(browser_context)->GetPrefs();
int64_t nextId = prefs->GetInteger(prefs::kNotificationNextPersistentId) + 1;
- prefs->SetInt64(prefs::kNotificationNextPersistentId, nextId);
+ prefs->SetInteger(prefs::kNotificationNextPersistentId, nextId);
return nextId;
}