From 4e07b6e29bf63c3c457fa53a9fe86a6c1bc1aae0 Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Wed, 3 Aug 2016 14:22:06 -0700 Subject: [PATCH] Bug 1291889 - specify CPP_THROW_NEW on definition of function whose declaration specifies it r=tnikkel MozReview-Commit-ID: 9a8hLbfJbkl --HG-- extra : rebase_source : 114072d12c3f7ea619b0cdf2b1e81e48d68e721b --- layout/base/nsDisplayList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsDisplayList.cpp b/layout/base/nsDisplayList.cpp index 9bc08fdc3a1d..c1e4087c022a 100644 --- a/layout/base/nsDisplayList.cpp +++ b/layout/base/nsDisplayList.cpp @@ -109,7 +109,7 @@ SpammyLayoutWarningsEnabled() #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); }