зеркало из https://github.com/mozilla/pjs.git
Only have the nsIContent_base constructor when MOZILLA_INTERNAL_API is defined. The base class constructor it calls won't exist otherwise. Caught by mrbkap.
This commit is contained in:
Родитель
4976b37e9a
Коммит
bfd2577045
|
@ -66,10 +66,15 @@ class nsAttrName;
|
|||
// hack to make egcs / gcc 2.95.2 happy
|
||||
class nsIContent_base : public nsINode {
|
||||
public:
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
// If you're using the external API, the only thing you can know about
|
||||
// nsIContent is that it exists with an IID
|
||||
|
||||
nsIContent_base(nsINodeInfo *aNodeInfo)
|
||||
: nsINode(aNodeInfo)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENT_IID)
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче