mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1025802 - Replace a MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE by MOZ_CRASH - r=mattwoodrow
This commit is contained in:
parent
a1eb209341
commit
e7b332bdfb
@ -58,6 +58,7 @@
|
||||
#include <startup-notification-1.0/libsn/sn.h>
|
||||
#endif
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Likely.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsIPrefService.h"
|
||||
@ -2164,7 +2165,7 @@ nsWindow::OnExposeEvent(cairo_t *cr)
|
||||
imgSurf->Data(), intSize, imgSurf->Stride(), format);
|
||||
ctx = new gfxContext(dt);
|
||||
} else {
|
||||
MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE("Unexpected content type");
|
||||
MOZ_CRASH("Unexpected content type");
|
||||
}
|
||||
|
||||
#ifdef MOZ_X11
|
||||
|
Loading…
Reference in New Issue
Block a user