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

Unified Diff: cc/output/texture_mailbox_deleter.h

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 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/output/texture_mailbox_deleter.h
diff --git a/cc/output/texture_mailbox_deleter.h b/cc/output/texture_mailbox_deleter.h
index c065c04ffa8a5207476d5a19b34e5a523194b207..051ad34d88b6eb8ebe3b38b0d440757ecd15a03c 100644
--- a/cc/output/texture_mailbox_deleter.h
+++ b/cc/output/texture_mailbox_deleter.h
@@ -5,9 +5,10 @@
#ifndef CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_
#define CC_OUTPUT_TEXTURE_MAILBOX_DELETER_H_
+#include <vector>
+
#include "base/memory/weak_ptr.h"
#include "cc/base/cc_export.h"
-#include "cc/base/scoped_ptr_vector.h"
namespace base {
class SingleThreadTaskRunner;
@@ -48,7 +49,7 @@ class CC_EXPORT TextureMailboxDeleter {
bool is_lost);
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_;
- ScopedPtrVector<SingleReleaseCallback> impl_callbacks_;
+ std::vector<scoped_ptr<SingleReleaseCallback>> impl_callbacks_;
base::WeakPtrFactory<TextureMailboxDeleter> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698