mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc
This commit is contained in:
parent
5c31b481cd
commit
1c80dfa2a7
@ -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() { }
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user