Bug 1291889 - specify CPP_THROW_NEW on definition of function whose declaration specifies it
MozReview-Commit-ID: 9a8hLbfJbkl
--- a/layout/base/nsDisplayList.cpp
+++ b/layout/base/nsDisplayList.cpp
@@ -104,17 +104,17 @@ SpammyLayoutWarningsEnabled()
sValueInitialized = true;
}
return sValue;
}
#endif
void*
-AnimatedGeometryRoot::operator new(size_t aSize, nsDisplayListBuilder* aBuilder)
+AnimatedGeometryRoot::operator new(size_t aSize, nsDisplayListBuilder* aBuilder) CPP_THROW_NEW
{
return aBuilder->Allocate(aSize);
}
static inline CSSAngle
MakeCSSAngle(const nsCSSValue& aValue)
{
return CSSAngle(aValue.GetAngleValue(), aValue.GetUnit());