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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user