Index: chrome/browser/thumbnails/thumbnail_service_factory.cc |
diff --git a/chrome/browser/thumbnails/thumbnail_service_factory.cc b/chrome/browser/thumbnails/thumbnail_service_factory.cc |
index 70a055d3aad301587db947002500d121cbdf87a9..1daa9bc163293bf8d1c7612d2b9a4063f4005a9c 100644 |
--- a/chrome/browser/thumbnails/thumbnail_service_factory.cc |
+++ b/chrome/browser/thumbnails/thumbnail_service_factory.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
#include "base/logging.h" |
+#include "chrome/browser/history/top_sites_factory.h" |
#include "chrome/browser/thumbnails/thumbnail_service.h" |
#include "chrome/browser/thumbnails/thumbnail_service_impl.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
@@ -16,6 +17,7 @@ ThumbnailServiceFactory::ThumbnailServiceFactory() |
: RefcountedBrowserContextKeyedServiceFactory( |
"ThumbnailService", |
BrowserContextDependencyManager::GetInstance()) { |
+ DependsOn(TopSitesFactory::GetInstance()); |
} |
ThumbnailServiceFactory::~ThumbnailServiceFactory() { |