Lines Matching refs:newItem
143 virtual void processIncomingListItemWrapper(RefPtr<ListItemTearOff>& newItem, unsigned* indexToModify)
145 SVGAnimatedProperty* animatedPropertyOfItem = newItem->animatedProperty();
147 // newItem has been created manually, it doesn't belong to any SVGElement.
152 // newItem belongs to a SVGElement, but its associated SVGAnimatedProperty is not an animated list tear off.
155 // We have to copy the incoming newItem, as we're not allowed to insert this tear off as is into our wrapper cache.
160 newItem = ListItemTearOff::create(newItem->propertyReference());
164 // Spec: If newItem is already in a list, it is removed from its previous list before it is inserted into this list.
165 // 'newItem' is already living in another list. If it's not our list, synchronize the other lists wrappers after the removal.
167 int removedIndex = static_cast<AnimatedListPropertyTearOff*>(animatedPropertyOfItem)->removeItemFromList(newItem.get(), livesInOtherList);