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

Unified Diff: ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm

Issue 2694333002: Fix leaking page visits in incognito mode via bookmarked favicons (Closed)
Patch Set: Rebased Created 3 years, 3 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: ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm
diff --git a/ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm b/ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm
index 528c9471d38bb7dc3a7a09bf4f5e6a7697a3bc2c..be698eb569607d80d273a91a26d1b90517cfdf62 100644
--- a/ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm
+++ b/ios/chrome/browser/reading_list/favicon_web_state_dispatcher_impl.mm
@@ -6,7 +6,6 @@
#include "components/favicon/ios/web_favicon_driver.h"
#include "components/keyed_service/core/service_access_type.h"
-#include "ios/chrome/browser/bookmarks/bookmark_model_factory.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/favicon/favicon_service_factory.h"
#include "ios/chrome/browser/history/history_service_factory.h"
@@ -46,8 +45,7 @@ FaviconWebStateDispatcherImpl::RequestWebState() {
ios::FaviconServiceFactory::GetForBrowserState(
original_browser_state, ServiceAccessType::EXPLICIT_ACCESS),
ios::HistoryServiceFactory::GetForBrowserState(
- original_browser_state, ServiceAccessType::EXPLICIT_ACCESS),
- ios::BookmarkModelFactory::GetForBrowserState(original_browser_state));
+ original_browser_state, ServiceAccessType::EXPLICIT_ACCESS));
return web_state;
}
« no previous file with comments | « ios/chrome/browser/reading_list/BUILD.gn ('k') | ios/chrome/browser/reading_list/reading_list_download_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698