Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.

This commit is contained in:
Nicholas Nethercote
2014-08-27 15:47:27 -07:00
parent d88bc86150
commit b35d1d1aa7
44 changed files with 179 additions and 214 deletions

View File

@@ -15,7 +15,7 @@
////////////////////////////////////////////////////////////////////////////////
// nsMemory static helper routines
NS_COM_GLUE nsresult
nsresult
nsMemory::HeapMinimize(bool aImmediate)
{
nsCOMPtr<nsIMemory> mem;
@@ -27,7 +27,7 @@ nsMemory::HeapMinimize(bool aImmediate)
return mem->HeapMinimize(aImmediate);
}
NS_COM_GLUE void*
void*
nsMemory::Clone(const void* aPtr, size_t aSize)
{
void* newPtr = NS_Alloc(aSize);
@@ -37,7 +37,7 @@ nsMemory::Clone(const void* aPtr, size_t aSize)
return newPtr;
}
NS_COM_GLUE nsIMemory*
nsIMemory*
nsMemory::GetGlobalMemoryService()
{
nsIMemory* mem;