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

Unified Diff: components/dom_distiller/core/dom_distiller_store_unittest.cc

Issue 140113002: Fix memory leak in readingListPrivate api test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: inline Created 6 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
Index: components/dom_distiller/core/dom_distiller_store_unittest.cc
diff --git a/components/dom_distiller/core/dom_distiller_store_unittest.cc b/components/dom_distiller/core/dom_distiller_store_unittest.cc
index 60c89d8179499ec7f298908362b68b676b18c953..56fe072c1bc522a0487ddbe91eaf315dfe207f77 100644
--- a/components/dom_distiller/core/dom_distiller_store_unittest.cc
+++ b/components/dom_distiller/core/dom_distiller_store_unittest.cc
@@ -140,7 +140,7 @@ class DomDistillerStoreTest : public testing::Test {
// with a FakeDB backed by |db_model_|.
void CreateStore() {
fake_db_ = new FakeDB(&db_model_);
- store_.reset(test::util::CreateStoreWithFakeDB(fake_db_, &store_model_));
+ store_.reset(test::util::CreateStoreWithFakeDB(fake_db_, store_model_));
}
void StartSyncing() {
@@ -170,7 +170,7 @@ class DomDistillerStoreTest : public testing::Test {
EntryMap db_model_;
EntryMap sync_model_;
- EntryMap store_model_;
+ FakeDB::EntryMap store_model_;
scoped_ptr<DomDistillerStore> store_;

Powered by Google App Engine
This is Rietveld 408576698