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

Unified Diff: components/dom_distiller/core/dom_distiller_test_util.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
« no previous file with comments | « components/dom_distiller/core/dom_distiller_test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/dom_distiller_test_util.cc
diff --git a/components/dom_distiller/core/dom_distiller_test_util.cc b/components/dom_distiller/core/dom_distiller_test_util.cc
index 99ed3bc785ef242e1038093f4aeb623192b6ff2a..f9164fd63be81574635264571fabe6b949ad1e90 100644
--- a/components/dom_distiller/core/dom_distiller_test_util.cc
+++ b/components/dom_distiller/core/dom_distiller_test_util.cc
@@ -91,10 +91,10 @@ HasExpectedUpdates(
// static
DomDistillerStore* CreateStoreWithFakeDB(FakeDB* fake_db,
- FakeDB::EntryMap* store_model) {
+ const FakeDB::EntryMap& store_model) {
return new DomDistillerStore(
scoped_ptr<DomDistillerDatabaseInterface>(fake_db),
- EntryMapToList(*store_model),
+ EntryMapToList(store_model),
FakeDB::DirectoryForTestDB());
}
« no previous file with comments | « components/dom_distiller/core/dom_distiller_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698