Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2560)

Unified Diff: cc/CCLayerAnimationController.h

Issue 10940002: Add wrapper container for a vector of OwnPtr<T> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCKeyframedAnimationCurve.cpp ('k') | cc/CCLayerAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerAnimationController.h
diff --git a/cc/CCLayerAnimationController.h b/cc/CCLayerAnimationController.h
index ed5fda46a2a3f4e3f91b7ba22125b437ae36dee7..eef4baf7581823f3c907123d516f04652af71a8a 100644
--- a/cc/CCLayerAnimationController.h
+++ b/cc/CCLayerAnimationController.h
@@ -7,11 +7,11 @@
#include "CCAnimationEvents.h"
+#include "cc/own_ptr_vector.h"
#include <wtf/HashSet.h>
#include <wtf/Noncopyable.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
-#include <wtf/Vector.h>
namespace WebKit {
class WebTransformationMatrix;
@@ -104,7 +104,7 @@ private:
bool m_forceSync;
CCLayerAnimationControllerClient* m_client;
- Vector<OwnPtr<CCActiveAnimation> > m_activeAnimations;
+ OwnPtrVector<CCActiveAnimation> m_activeAnimations;
};
} // namespace cc
« no previous file with comments | « cc/CCKeyframedAnimationCurve.cpp ('k') | cc/CCLayerAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698