Index: components/dom_distiller/core/dom_distiller_service_unittest.cc |
diff --git a/components/dom_distiller/core/dom_distiller_service_unittest.cc b/components/dom_distiller/core/dom_distiller_service_unittest.cc |
index 777e3fe0401381deefa562b1144bf6d8e87901db..490bdf70301c5c1825a6bfdeaff1816b8ff53326 100644 |
--- a/components/dom_distiller/core/dom_distiller_service_unittest.cc |
+++ b/components/dom_distiller/core/dom_distiller_service_unittest.cc |
@@ -16,6 +16,7 @@ |
#include "components/dom_distiller/core/dom_distiller_test_util.h" |
#include "components/dom_distiller/core/fake_distiller.h" |
#include "components/dom_distiller/core/fake_distiller_page.h" |
+#include "components/dom_distiller/core/reader_mode_preferences.h" |
#include "components/dom_distiller/core/task_tracker.h" |
#include "components/leveldb_proto/testing/fake_db.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -89,7 +90,8 @@ class DomDistillerServiceTest : public testing::Test { |
service_.reset(new DomDistillerService( |
scoped_ptr<DomDistillerStoreInterface>(store_), |
scoped_ptr<DistillerFactory>(distiller_factory_), |
- scoped_ptr<DistillerPageFactory>(distiller_page_factory_))); |
+ scoped_ptr<DistillerPageFactory>(distiller_page_factory_), |
+ scoped_ptr<ReaderModePrefs>(new ReaderModePrefs(NULL)))); |
nyquist
2014/06/24 23:08:49
Could you just pass an empty scoped_ptr here?
smaslo
2014/06/26 20:05:37
Done.
|
fake_db->InitCallback(true); |
fake_db->LoadCallback(true); |
} |