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