Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug

Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
This commit is contained in:
Andrew McCreight
2015-10-09 10:24:23 -07:00
parent 15ee03ca3e
commit 844e01aa14
8 changed files with 12 additions and 11 deletions

View File

@@ -215,7 +215,7 @@ TextTrackManager::UpdateCueDisplay()
mTextTracks->UpdateAndGetShowingCues(activeCues);
if (activeCues.Length() > 0) {
nsRefPtr<nsVariant> jsCues = new nsVariant();
nsRefPtr<nsVariantCC> jsCues = new nsVariantCC();
jsCues->SetAsArray(nsIDataType::VTYPE_INTERFACE,
&NS_GET_IID(nsIDOMEventTarget),