summaryrefslogtreecommitdiff
path: root/image/DecoderFactory.h
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-06-22 11:22:19 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-06-29 13:53:10 +0800
commit3173108a3fda917bc627cc714c2e15356115787e (patch)
treeef9c0bcfed6c154058600264faea36a04edf79fc /image/DecoderFactory.h
parent5f4d519194090df1e2c5fc60195b496f20229c14 (diff)
downloaduxp-3173108a3fda917bc627cc714c2e15356115787e.tar.gz
Issue #1769 - Part 2 Follow-up: Do not use namespace parent::child {} for defining nested namespaces.
It doesn't build for MSVC on Windows. Also other decoders are using the old way for defining nested namespaces, so better be consistent here.
Diffstat (limited to 'image/DecoderFactory.h')
-rw-r--r--image/DecoderFactory.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/image/DecoderFactory.h b/image/DecoderFactory.h
index 4be0f83ff2..0860a6ace5 100644
--- a/image/DecoderFactory.h
+++ b/image/DecoderFactory.h
@@ -15,7 +15,8 @@
#include "nsCOMPtr.h"
#include "SurfaceFlags.h"
-namespace mozilla::image {
+namespace mozilla {
+namespace image {
class Decoder;
class IDecodingTask;
@@ -189,6 +190,7 @@ private:
bool aIsRedecode);
};
-} // namespace mozilla::image
+} // namespace image
+} // namespace mozilla
#endif // mozilla_image_DecoderFactory_h