summaryrefslogtreecommitdiff
path: root/netwerk/cookie/nsCookieService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/cookie/nsCookieService.cpp')
-rw-r--r--netwerk/cookie/nsCookieService.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/netwerk/cookie/nsCookieService.cpp b/netwerk/cookie/nsCookieService.cpp
index 2549ffaccb..d08f7fc3c5 100644
--- a/netwerk/cookie/nsCookieService.cpp
+++ b/netwerk/cookie/nsCookieService.cpp
@@ -992,7 +992,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
NS_ENSURE_SUCCESS(rv, RESULT_RETRY);
}
// Fall through to the next upgrade.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 2:
{
@@ -1051,7 +1051,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
NS_ENSURE_SUCCESS(rv, RESULT_RETRY);
}
// Fall through to the next upgrade.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 3:
{
@@ -1148,7 +1148,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
NS_ENSURE_SUCCESS(rv, RESULT_RETRY);
}
// Fall through to the next upgrade.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 4:
{
@@ -1196,7 +1196,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
("Upgraded database to schema version 5"));
}
// Fall through to the next upgrade.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 5:
{
@@ -1262,7 +1262,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
COOKIE_LOGSTRING(LogLevel::Debug,
("Upgraded database to schema version 6"));
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 6:
{
@@ -1322,7 +1322,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
// No more upgrades. Update the schema version.
rv = mDefaultDBState->dbConn->SetSchemaVersion(COOKIES_SCHEMA_VERSION);
NS_ENSURE_SUCCESS(rv, RESULT_RETRY);
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case COOKIES_SCHEMA_VERSION:
break;
@@ -1340,7 +1340,7 @@ nsCookieService::TryInitDB(bool aRecreateDB)
NS_ENSURE_SUCCESS(rv, RESULT_RETRY);
}
// fall through to downgrade check
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// downgrading.
// if columns have been added to the table, we can still use the ones we