зеркало из https://github.com/mozilla/gecko-dev.git
Bug 669225 part 7 - Mark stack classes as such; r=dholbert
This commit is contained in:
Родитель
64b77423d0
Коммит
7be5386864
|
@ -144,7 +144,7 @@ namespace
|
|||
// If several of these objects are allocated on the stack, the update will not
|
||||
// be performed until the last object for a given nsSMILTimedElement is
|
||||
// destroyed.
|
||||
NS_STACK_CLASS class nsSMILTimedElement::AutoIntervalUpdateBatcher
|
||||
class NS_STACK_CLASS nsSMILTimedElement::AutoIntervalUpdateBatcher
|
||||
{
|
||||
public:
|
||||
AutoIntervalUpdateBatcher(nsSMILTimedElement& aTimedElement)
|
||||
|
@ -446,7 +446,7 @@ nsSMILTimedElement::RemoveInstanceTime(nsSMILInstanceTime* aInstanceTime,
|
|||
|
||||
namespace
|
||||
{
|
||||
class RemoveByCreator
|
||||
class NS_STACK_CLASS RemoveByCreator
|
||||
{
|
||||
public:
|
||||
RemoveByCreator(const nsSMILTimeValueSpec* aCreator) : mCreator(aCreator)
|
||||
|
@ -1308,7 +1308,7 @@ namespace
|
|||
// pointers instead.
|
||||
// Without this we'd have to either templatize ClearSpecs and all its callers
|
||||
// or pass bool flags around to specify which removal function to use here.
|
||||
class RemoveByFunction
|
||||
class NS_STACK_CLASS RemoveByFunction
|
||||
{
|
||||
public:
|
||||
RemoveByFunction(nsSMILTimedElement::RemovalTestFunction aFunction)
|
||||
|
@ -1378,7 +1378,7 @@ nsSMILTimedElement::ApplyEarlyEnd(const nsSMILTimeValue& aSampleTime)
|
|||
|
||||
namespace
|
||||
{
|
||||
class RemoveReset
|
||||
class NS_STACK_CLASS RemoveReset
|
||||
{
|
||||
public:
|
||||
RemoveReset(const nsSMILInstanceTime* aCurrentIntervalBegin)
|
||||
|
@ -1526,7 +1526,7 @@ nsSMILTimedElement::FilterIntervals()
|
|||
|
||||
namespace
|
||||
{
|
||||
class RemoveFiltered
|
||||
class NS_STACK_CLASS RemoveFiltered
|
||||
{
|
||||
public:
|
||||
RemoveFiltered(nsSMILTimeValue aCutoff) : mCutoff(aCutoff) { }
|
||||
|
@ -1546,7 +1546,7 @@ namespace
|
|||
nsSMILTimeValue mCutoff;
|
||||
};
|
||||
|
||||
class RemoveBelowThreshold
|
||||
class NS_STACK_CLASS RemoveBelowThreshold
|
||||
{
|
||||
public:
|
||||
RemoveBelowThreshold(PRUint32 aThreshold,
|
||||
|
|
Загрузка…
Ссылка в новой задаче