зеркало из https://github.com/mozilla/pjs.git
Bug 209667: Make it possible to hold an nsRefPtr to a class that lacks an empty ctor. I'll back this out if it breaks any ports.
r=jag sr=dbaron on the nsCOMPtr.h part r=Pike sr=peterv on the transformiix part
This commit is contained in:
Родитель
5996c30581
Коммит
2e0c8a302a
|
@ -55,7 +55,6 @@ public:
|
|||
RESULT_TREE_FRAGMENT
|
||||
};
|
||||
|
||||
txAExprResult(); // Not to be implemented
|
||||
txAExprResult(txResultRecycler* aRecycler) : mRecycler(aRecycler) {}
|
||||
virtual ~txAExprResult() {};
|
||||
|
||||
|
@ -121,7 +120,6 @@ private:
|
|||
class BooleanResult : public txAExprResult {
|
||||
|
||||
public:
|
||||
BooleanResult(); // Not to be implemented
|
||||
BooleanResult(MBool aValue);
|
||||
|
||||
TX_DECL_EXPRRESULT
|
||||
|
@ -133,7 +131,6 @@ private:
|
|||
class NumberResult : public txAExprResult {
|
||||
|
||||
public:
|
||||
NumberResult(); // Not to be implemented
|
||||
NumberResult(double aValue, txResultRecycler* aRecycler);
|
||||
|
||||
TX_DECL_EXPRRESULT
|
||||
|
@ -145,7 +142,6 @@ public:
|
|||
|
||||
class StringResult : public txAExprResult {
|
||||
public:
|
||||
StringResult();
|
||||
StringResult(txResultRecycler* aRecycler);
|
||||
StringResult(const nsAString& aValue, txResultRecycler* aRecycler);
|
||||
|
||||
|
|
|
@ -240,10 +240,6 @@ private:
|
|||
nsAutoRefCnt mRefCnt;
|
||||
nsString mCharacters;
|
||||
nsresult mStatus;
|
||||
|
||||
protected:
|
||||
// This exists soly to supress a warning from nsDerivedSafe
|
||||
txStylesheetCompiler();
|
||||
};
|
||||
|
||||
class txInScopeVariable {
|
||||
|
|
Загрузка…
Ссылка в новой задаче