~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to JavaScriptCore/wtf/Vector.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
692
692
    }
693
693
 
694
694
    template<typename T, size_t inlineCapacity>
695
 
    void Vector<T, inlineCapacity>::resize(size_t size)
 
695
    inline void Vector<T, inlineCapacity>::resize(size_t size)
696
696
    {
697
697
        if (size <= m_size)
698
698
            TypeOperations::destruct(begin() + size, end());
790
790
    }
791
791
 
792
792
    template<typename T, size_t inlineCapacity> template<typename U>
793
 
    inline void Vector<T, inlineCapacity>::append(const U& val)
 
793
    ALWAYS_INLINE void Vector<T, inlineCapacity>::append(const U& val)
794
794
    {
795
795
        const U* ptr = &val;
796
796
        if (size() == capacity()) {