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

Unified Diff: components/spellcheck/renderer/spellcheck.h

Issue 2671263003: Merge 3004: Revert of Remove ScopedVector in components/spellcheck (patchset #5 id:80001 of https:/… (Closed)
Patch Set: 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
« no previous file with comments | « components/spellcheck/browser/feedback_sender.cc ('k') | components/spellcheck/renderer/spellcheck.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/renderer/spellcheck.h
diff --git a/components/spellcheck/renderer/spellcheck.h b/components/spellcheck/renderer/spellcheck.h
index ad3ab172bb4eb9729f081875f2ad834a47947173..fb9e9b91209ec1ca77875c87d73263f5fc91bfc8 100644
--- a/components/spellcheck/renderer/spellcheck.h
+++ b/components/spellcheck/renderer/spellcheck.h
@@ -13,6 +13,7 @@
#include "base/files/file.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
+#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "components/spellcheck/renderer/custom_dictionary_engine.h"
@@ -150,7 +151,7 @@ class SpellCheck : public content::RenderThreadObserver,
// A vector of objects used to actually check spelling, one for each enabled
// language.
- std::vector<std::unique_ptr<SpellcheckLanguage>> languages_;
+ ScopedVector<SpellcheckLanguage> languages_;
// Custom dictionary spelling engine.
CustomDictionaryEngine custom_dictionary_;
« no previous file with comments | « components/spellcheck/browser/feedback_sender.cc ('k') | components/spellcheck/renderer/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698