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

Unified Diff: cc/CCKeyframedAnimationCurve.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/CCDirectRenderer.cpp ('k') | cc/CCKeyframedAnimationCurve.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCKeyframedAnimationCurve.h
diff --git a/cc/CCKeyframedAnimationCurve.h b/cc/CCKeyframedAnimationCurve.h
index 6f1f92da08cb345ecb53600333e26edb51890d7f..232f07cc2008661924e0fae30395861504c2acce 100644
--- a/cc/CCKeyframedAnimationCurve.h
+++ b/cc/CCKeyframedAnimationCurve.h
@@ -7,6 +7,7 @@
#include "CCAnimationCurve.h"
#include "CCTimingFunction.h"
+#include "cc/own_ptr_vector.h"
#include <public/WebTransformOperations.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
@@ -79,7 +80,7 @@ private:
// Always sorted in order of increasing time. No two keyframes have the
// same time.
- Vector<OwnPtr<CCFloatKeyframe> > m_keyframes;
+ OwnPtrVector<CCFloatKeyframe> m_keyframes;
};
class CCKeyframedTransformAnimationCurve : public CCTransformAnimationCurve {
@@ -103,7 +104,7 @@ private:
// Always sorted in order of increasing time. No two keyframes have the
// same time.
- Vector<OwnPtr<CCTransformKeyframe> > m_keyframes;
+ OwnPtrVector<CCTransformKeyframe> m_keyframes;
};
} // namespace cc
« no previous file with comments | « cc/CCDirectRenderer.cpp ('k') | cc/CCKeyframedAnimationCurve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698