Index: ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
diff --git a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
index 2367b1283b5611de59c520080d8efea42230adb7..89ed5cf1778765002707b4c29a586cc7b8e6d655 100644 |
--- a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
+++ b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
@@ -22,6 +22,7 @@ |
#include "components/leveldb_proto/proto_database_impl.h" |
#include "ios/chrome/browser/browser_state/browser_state_otr_helper.h" |
#include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
+#include "ios/chrome/browser/dom_distiller/distiller_favicon.h" |
#include "ios/web/public/browser_state.h" |
#include "ios/web/public/web_thread.h" |
@@ -90,8 +91,10 @@ DomDistillerServiceFactory::BuildServiceInstanceFor( |
std::unique_ptr<DomDistillerStore> dom_distiller_store( |
new DomDistillerStore(std::move(db), database_dir)); |
+ DistillerFaviconIOS* distiller_favicon = new DistillerFavicon(context); |
+ |
std::unique_ptr<DistillerPageFactory> distiller_page_factory( |
- new DistillerPageFactoryIOS(context)); |
+ new DistillerPageFactoryIOS(context, distiller_favicon)); |
std::unique_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory( |
new DistillerURLFetcherFactory(context->GetRequestContext())); |