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_; |