Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271861
Collapse All | Expand All

(-)a/WebKit-r40220/WebCore/svg/SVGList.h (-1 / +5 lines)
Lines 96-102 Link Here
96
96
97
        Item insertItemBefore(Item newItem, unsigned int index, ExceptionCode&)
97
        Item insertItemBefore(Item newItem, unsigned int index, ExceptionCode&)
98
        {
98
        {
99
            m_vector.insert(index, newItem);
99
            if (index < m_vector.size()) {
100
                m_vector.insert(index, newItem);
101
            } else {
102
                m_vector.append(newItem);
103
            }
100
            return newItem;
104
            return newItem;
101
        }
105
        }
102
106

Return to bug 271861