зеркало из https://github.com/mozilla/gecko-dev.git
Attempt to fix HP-UX and OS/2 bustage. b=146532
This commit is contained in:
Родитель
6a050d9a3d
Коммит
f528da681f
|
@ -76,15 +76,15 @@ class nsITimer;
|
|||
class nsIMemory;
|
||||
|
||||
class NS_COM nsRecyclingAllocator {
|
||||
#ifdef XP_OS2
|
||||
public:
|
||||
#else
|
||||
protected:
|
||||
#endif
|
||||
struct Block {
|
||||
PRUint32 bytes;
|
||||
};
|
||||
|
||||
// Make |BlockStoreNode| a |friend| so it can access |Block|.
|
||||
struct BlockStoreNode;
|
||||
friend struct BlockStoreNode;
|
||||
|
||||
struct BlockStoreNode {
|
||||
BlockStoreNode() : bytes(0), block(nsnull), next(nsnull) {};
|
||||
PRUint32 bytes;
|
||||
|
|
Загрузка…
Ссылка в новой задаче