summaryrefslogtreecommitdiff
path: root/dom/system/linux/GpsdLocationProvider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/system/linux/GpsdLocationProvider.cpp')
-rw-r--r--dom/system/linux/GpsdLocationProvider.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/system/linux/GpsdLocationProvider.cpp b/dom/system/linux/GpsdLocationProvider.cpp
index c117188692..38d5089a50 100644
--- a/dom/system/linux/GpsdLocationProvider.cpp
+++ b/dom/system/linux/GpsdLocationProvider.cpp
@@ -255,7 +255,7 @@ protected:
if (!IsNaN(gpsData.fix.altitude)) {
alt = gpsData.fix.altitude;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case MODE_2D:
if (!IsNaN(gpsData.fix.latitude)) {
lat = gpsData.fix.latitude;
@@ -308,13 +308,13 @@ protected:
{
switch (aErrno) {
case EACCES:
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case EPERM:
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case EROFS:
return nsIDOMGeoPositionError::PERMISSION_DENIED;
case ETIME:
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case ETIMEDOUT:
return nsIDOMGeoPositionError::TIMEOUT;
default: