mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 826164 - Enable FAIL_ON_WARNINGS on MSVC in view/. r=roc
This commit is contained in:
parent
0192177372
commit
b3bcd5b6a1
@ -16,9 +16,7 @@ FORCE_STATIC_LIB = 1
|
||||
MODULE_NAME = nsViewModule
|
||||
GRE_MODULE = 1
|
||||
LIBXUL_LIBRARY = 1
|
||||
ifndef _MSC_VER
|
||||
FAIL_ON_WARNINGS := 1
|
||||
endif # !_MSC_VER
|
||||
|
||||
DEFINES += -D_IMPL_NS_LAYOUT
|
||||
|
||||
|
@ -70,8 +70,8 @@ uint32_t nsViewManager::gLastUserEventTime = 0;
|
||||
|
||||
nsViewManager::nsViewManager()
|
||||
: mDelayedResize(NSCOORD_NONE, NSCOORD_NONE)
|
||||
, mRootViewManager(this)
|
||||
{
|
||||
mRootViewManager = this;
|
||||
if (gViewManagers == nullptr) {
|
||||
NS_ASSERTION(mVMCount == 0, "View Manager count is incorrect");
|
||||
// Create an array to hold a list of view managers
|
||||
|
Loading…
Reference in New Issue
Block a user