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

Unified Diff: chrome/browser/ui/views/hung_renderer_view.h

Issue 2606293002: Remove ScopedVector from chrome/browser/ui. (Closed)
Patch Set: nits 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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/hung_renderer_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/hung_renderer_view.h
diff --git a/chrome/browser/ui/views/hung_renderer_view.h b/chrome/browser/ui/views/hung_renderer_view.h
index c301e52e3dd4b2cd9c9156a61c33013f0585bd76..751cf56c2e0aae7a0bc55fb40fd996874d8eaa68 100644
--- a/chrome/browser/ui/views/hung_renderer_view.h
+++ b/chrome/browser/ui/views/hung_renderer_view.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_H_
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "components/favicon/content/content_favicon_driver.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/browser/web_contents_observer.h"
@@ -86,8 +85,7 @@ class HungPagesTableModel : public ui::TableModel, public views::TableGrouper {
// notifies the observer and delegate.
void TabDestroyed(WebContentsObserverImpl* tab);
- typedef ScopedVector<WebContentsObserverImpl> TabObservers;
- TabObservers tab_observers_;
+ std::vector<std::unique_ptr<WebContentsObserverImpl>> tab_observers_;
ui::TableModelObserver* observer_;
Delegate* delegate_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/hung_renderer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698