Fixing bustage in nsXPIDLString. r=jag, sr=dbaron, b=189591, a=Donald Rumsfeld

git-svn-id: svn://10.0.0.236/trunk@136865 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2003-01-23 03:35:30 +00:00
parent 4f8c37317b
commit 348eff25b2
2 changed files with 4 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ nsXPIDLString::GetSharedEmptyBufferHandle()
// race to set the refcount, in
// which case we'll pull the
// same trick in |Destroy|.
sBufferHandle->SetImplementationFlags(sBufferHandle->GetImplementationFlags() & shared_buffer_handle_type::kIsNULL);
sBufferHandle->SetImplementationFlags(sBufferHandle->GetImplementationFlags() | shared_buffer_handle_type::kIsNULL);
}
return sBufferHandle;
}
@@ -239,7 +239,7 @@ nsXPIDLCString::GetSharedEmptyBufferHandle()
// race to set the refcount, in
// which case we'll pull the
// same trick in |Destroy|.
sBufferHandle->SetImplementationFlags(sBufferHandle->GetImplementationFlags() & shared_buffer_handle_type::kIsNULL);
sBufferHandle->SetImplementationFlags(sBufferHandle->GetImplementationFlags() | shared_buffer_handle_type::kIsNULL);
}
return sBufferHandle;
}