xpcom/base/nsErrorAsserts.cpp
author Mats Palmgren <matspal@gmail.com>
Wed, 31 Oct 2012 06:10:38 +0100
changeset 112005 3781f04d144d29aba4a14813ea18ae2a82e96948
parent 107797 d1b23fd87ba27bf7c473a545efd39285a1fe820a
permissions -rw-r--r--
Bug 803995 - Dispatch an nsAsyncRollup event (that calls RollupFromList) only if we're dropped down since otherwise it might reset mouse capturing for other content. r=roc

#include "nsError.h"
#include "mozilla/Assertions.h"

// No reason to pull in Assertions.h for every single file that includes
// nsError.h, so let's put this in its own .cpp file instead of in the .h.
MOZ_STATIC_ASSERT(sizeof(nsresult) == sizeof(uint32_t),
                  "nsresult must be 32 bits");