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

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: converts the rest of the Vector<OwnPtr<T>>s 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
Index: cc/CCLayerTreeHost.h
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h
index 09ff6a180c8dbc25bbdbfaa3d61a538413e07876..8fe53612057f71f565ebacbe51446848d1caf2cb 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>
@@ -224,7 +225,6 @@ protected:
private:
typedef Vector<RefPtr<LayerChromium> > LayerList;
- typedef Vector<OwnPtr<CCPrioritizedTexture> > TextureList;
void initializeRenderer();
@@ -282,6 +282,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') | cc/TreeSynchronizer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698