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

Unified Diff: cc/resource_provider_unittest.cc

Issue 11418108: cc: Make the ScopedPtrVector and ScopedPtrDeque containers act like STL vector and deque. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DCHECK Created 8 years, 1 month 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/resource_provider_unittest.cc
diff --git a/cc/resource_provider_unittest.cc b/cc/resource_provider_unittest.cc
index 851144c9dcfefb6d0e69eda000b2e683449f8d26..ea30ec8fd59d7e1cbe4a6f22ec870c241b96f001 100644
--- a/cc/resource_provider_unittest.cc
+++ b/cc/resource_provider_unittest.cc
@@ -193,7 +193,7 @@ public:
memcpy(pending->mailbox, mailbox, sizeof(pending->mailbox));
pending->texture = m_textures.take(m_currentTexture);
m_textures.set(m_currentTexture, scoped_ptr<Texture>());
- m_pendingProduceTextures.append(pending.Pass());
+ m_pendingProduceTextures.push_back(pending.Pass());
}
virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailbox)
« no previous file with comments | « cc/render_surface_unittest.cc ('k') | cc/scoped_ptr_deque.h » ('j') | cc/scoped_ptr_deque.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698