summaryrefslogtreecommitdiff
path: root/extensions/cookie/nsPermissionManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/cookie/nsPermissionManager.cpp')
-rw-r--r--extensions/cookie/nsPermissionManager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/cookie/nsPermissionManager.cpp b/extensions/cookie/nsPermissionManager.cpp
index afdaea63f1..9a3426f635 100644
--- a/extensions/cookie/nsPermissionManager.cpp
+++ b/extensions/cookie/nsPermissionManager.cpp
@@ -935,7 +935,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// TODO: we want to make default version as version 2 in order to fix bug 784875.
case 0:
@@ -955,7 +955,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// Version 3->4 is the creation of the modificationTime field.
case 3:
@@ -973,7 +973,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// In version 5, host appId, and isInBrowserElement were merged into a
// single origin entry
@@ -1059,7 +1059,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// At this point, the version 5 table has been migrated to a version 6 table
// We are guaranteed to have at least one of moz_hosts and moz_perms. If
@@ -1216,7 +1216,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// The version 7-8 migration is the re-migration of localhost and ip-address
// entries due to errors in the previous version 7 migration which caused
@@ -1318,7 +1318,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// The version 8-9 migration removes the unnecessary backup moz-hosts database contents.
// as the data no longer needs to be migrated
@@ -1346,7 +1346,7 @@ nsPermissionManager::InitDB(bool aRemoveFile)
}
// fall through to the next upgrade
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
// current version.
case HOSTS_SCHEMA_VERSION: