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

Unified Diff: components/bubble/bubble_manager.h

Issue 2640223004: Remove ScopedVector in //components/bubble. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | components/bubble/bubble_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bubble/bubble_manager.h
diff --git a/components/bubble/bubble_manager.h b/components/bubble/bubble_manager.h
index fc0f6308922724be58625350f55344df317deea2..461660704c11bb43a5a895e1bae8cb7451d49269 100644
--- a/components/bubble/bubble_manager.h
+++ b/components/bubble/bubble_manager.h
@@ -6,9 +6,9 @@
#define COMPONENTS_BUBBLE_BUBBLE_MANAGER_H_
#include <memory>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
#include "components/bubble/bubble_close_reason.h"
@@ -102,7 +102,7 @@ class BubbleManager {
ManagerState manager_state_;
// The bubbles that are being managed.
- ScopedVector<BubbleController> controllers_;
+ std::vector<std::unique_ptr<BubbleController>> controllers_;
DISALLOW_COPY_AND_ASSIGN(BubbleManager);
};
« no previous file with comments | « no previous file | components/bubble/bubble_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698