Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc

This commit is contained in:
Joshua Cranmer 2013-04-11 22:20:37 -05:00
parent 5c31b481cd
commit 1c80dfa2a7
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ protected:
* This helper class manages the gfxASurface-or-SurfaceDescriptor
* logic.
*/
class NS_STACK_CLASS AutoMaskData {
class MOZ_STACK_CLASS AutoMaskData {
public:
AutoMaskData() { }
~AutoMaskData() { }

View File

@ -23,7 +23,7 @@ namespace layers {
* ahsolutely necessary. And after being forced to open, it remembers
* the mapping so it doesn't need to be redone.
*/
class NS_STACK_CLASS AutoOpenSurface
class MOZ_STACK_CLASS AutoOpenSurface
{
public:
typedef gfxASurface::gfxContentType gfxContentType;

View File

@ -468,7 +468,7 @@ CompositorParent::SetTransformation(float aScale, nsIntPoint aScrollOffset)
* to the layer tree, if found. On exiting scope, detaches all
* resolved referents.
*/
class NS_STACK_CLASS AutoResolveRefLayers {
class MOZ_STACK_CLASS AutoResolveRefLayers {
public:
/**
* |aRoot| must remain valid in the scope of this, which should be

View File

@ -264,7 +264,7 @@ CreateSamplingRestrictedDrawable(gfxDrawable* aDrawable,
// working around cairo/pixman bug (bug 364968)
// Our device-space-to-image-space transform may not be acceptable to pixman.
struct NS_STACK_CLASS AutoCairoPixmanBugWorkaround
struct MOZ_STACK_CLASS AutoCairoPixmanBugWorkaround
{
AutoCairoPixmanBugWorkaround(gfxContext* aContext,
const gfxMatrix& aDeviceSpaceToImageSpace,