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

Unified Diff: components/dom_distiller/core/dom_distiller_service.h

Issue 2712413002: Remove ScopedVector in //components/dom_distiller/ (Closed)
Patch Set: Remove ScopedVector in //components/dom_distiller/ Created 3 years, 10 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: components/dom_distiller/core/dom_distiller_service.h
diff --git a/components/dom_distiller/core/dom_distiller_service.h b/components/dom_distiller/core/dom_distiller_service.h
index a9b4312fd83e862a77f5be77243e90940d190de9..1e9eb71b955c75fc93cd9a71908462a03d4ac31e 100644
--- a/components/dom_distiller/core/dom_distiller_service.h
+++ b/components/dom_distiller/core/dom_distiller_service.h
@@ -11,7 +11,6 @@
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "components/dom_distiller/core/article_entry.h"
#include "components/dom_distiller/core/distilled_page_prefs.h"
@@ -177,7 +176,7 @@ class DomDistillerService : public DomDistillerServiceInterface {
std::unique_ptr<DistillerPageFactory> distiller_page_factory_;
std::unique_ptr<DistilledPagePrefs> distilled_page_prefs_;
- typedef ScopedVector<TaskTracker> TaskList;
+ typedef std::vector<std::unique_ptr<TaskTracker>> TaskList;
TaskList tasks_;
DISALLOW_COPY_AND_ASSIGN(DomDistillerService);

Powered by Google App Engine
This is Rietveld 408576698