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

Unified Diff: components/spellcheck/renderer/spellcheck_provider_test.cc

Issue 2658013002: Remove ScopedVector in components/spellcheck (Closed)
Patch Set: code rebase 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/spellcheck/renderer/spellcheck_provider_test.cc
diff --git a/components/spellcheck/renderer/spellcheck_provider_test.cc b/components/spellcheck/renderer/spellcheck_provider_test.cc
index 9f86045a0a72236d537b9a3a64f836d5912ef7d8..c8b27ee3ca05b197e92cc80f51037c4e0c6a1d7c 100644
--- a/components/spellcheck/renderer/spellcheck_provider_test.cc
+++ b/components/spellcheck/renderer/spellcheck_provider_test.cc
@@ -4,6 +4,7 @@
#include "components/spellcheck/renderer/spellcheck_provider_test.h"
+#include "base/memory/ptr_util.h"
#include "base/stl_util.h"
#include "components/spellcheck/common/spellcheck_marker.h"
#include "components/spellcheck/common/spellcheck_messages.h"
@@ -62,7 +63,7 @@ bool TestingSpellCheckProvider::Send(IPC::Message* message) {
}
#endif
- messages_.push_back(message);
+ messages_.push_back(base::WrapUnique<IPC::Message>(message));
return true;
}
« no previous file with comments | « components/spellcheck/renderer/spellcheck_provider_test.h ('k') | components/spellcheck/renderer/spellcheck_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698