Add wrapper container for a vector of OwnPtr<T>

In cc we frequently use WTF::Vector<WTF::OwnPtr<T> > to store lists of single-ownership
objects. In WTF this works nicely using template specialization in the container
implementation. In chromium we use STL containers and can't modify the implementation,
so this adds a wrapper to do roughly the same thing.

BUG=


Review URL: https://chromiumcodereview.appspot.com/10940002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157699 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/CCLayerAnimationController.cpp b/cc/CCLayerAnimationController.cpp
index f992c6e..aaef9f3f 100644
--- a/cc/CCLayerAnimationController.cpp
+++ b/cc/CCLayerAnimationController.cpp
@@ -117,7 +117,7 @@
 {
     for (size_t i = 0; i < m_activeAnimations.size(); ++i)
         if (m_activeAnimations[i]->group() == groupId && m_activeAnimations[i]->targetProperty() == targetProperty)
-            return m_activeAnimations[i].get();
+            return m_activeAnimations[i];
     return 0;
 }
 
@@ -126,7 +126,7 @@
     for (size_t i = 0; i < m_activeAnimations.size(); ++i) {
         size_t index = m_activeAnimations.size() - i - 1;
         if (m_activeAnimations[index]->targetProperty() == targetProperty)
-            return m_activeAnimations[index].get();
+            return m_activeAnimations[index];
     }
     return 0;
 }