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.
This commit is contained in:
Job Bautista 2022-06-22 11:22:19 +08:00 committed by roytam1
commit 134c5e94e8
3 changed files with 12 additions and 6 deletions

View file

@ -17,7 +17,8 @@
using namespace mozilla::gfx;
namespace mozilla::image {
namespace mozilla {
namespace image {
#define JXL_TRY(expr) \
do { \
@ -162,4 +163,5 @@ nsJXLDecoder::FinishedJXLData()
return Transition::TerminateFailure();
}
} // namespace mozilla::image
} // namespace image
} // namespace mozilla