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

Unified Diff: cc/CCLayerTreeHost.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/CCLayerImplTest.cpp ('k') | cc/CCLayerTreeHostCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHost.h
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h
index 4224c70612a687d5f84a37688c3bacaf1e368e94..5f3c3e5e5ee82df747f093947c0b77e5714a346e 100644
--- a/cc/CCLayerTreeHost.h
+++ b/cc/CCLayerTreeHost.h
@@ -16,6 +16,7 @@
#include "IntRect.h"
#include "RateLimiter.h"
#include "SkColor.h"
+#include "cc/own_ptr_vector.h"
#include <limits>
#include <wtf/HashMap.h>
#include <wtf/OwnPtr.h>
@@ -235,7 +236,6 @@ protected:
private:
typedef Vector<RefPtr<LayerChromium> > LayerList;
- typedef Vector<OwnPtr<CCPrioritizedTexture> > TextureList;
void initializeRenderer();
@@ -293,6 +293,7 @@ private:
SkColor m_backgroundColor;
bool m_hasTransparentBackground;
+ typedef OwnPtrVector<CCPrioritizedTexture> TextureList;
TextureList m_deleteTextureAfterCommitList;
size_t m_partialTextureUpdateRequests;
« no previous file with comments | « cc/CCLayerImplTest.cpp ('k') | cc/CCLayerTreeHostCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698