mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Fixing mistake in my earlier cleanup patch.
This commit is contained in:
parent
5141ad1f61
commit
7c6aa20e06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user