Fixing mistake in my earlier cleanup patch.

This commit is contained in:
jst%mozilla.jstenback.com 2005-03-17 19:43:34 +00:00
parent 5141ad1f61
commit 7c6aa20e06

View File

@ -1408,7 +1408,7 @@ nsTransferableFactory::ConvertStringsToTransferable(nsITransferable** outTrans)
// add a special flavor, even if we don't have html context data
nsCOMPtr<nsISupportsString> context =
do_CreateInstance(NS_SUPPORTS_STRING_CONTRACTID);
NS_ENSURE_TRUE(!context, NS_ERROR_FAILURE);
NS_ENSURE_TRUE(context, NS_ERROR_FAILURE);
nsAutoString contextData(mContextString);
context->SetData(contextData);