Bug 1025802 - Replace a MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE by MOZ_CRASH - r=mattwoodrow

This commit is contained in:
Benoit Jacob 2014-09-24 13:43:00 -04:00
parent a1eb209341
commit e7b332bdfb

View File

@ -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