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

Unified Diff: chrome/browser/ui/app_list/start_page_service_factory.cc

Issue 976553003: Fix Launcher crash in ChromeOS guest mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile warnings on Linux. Created 5 years, 10 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: chrome/browser/ui/app_list/start_page_service_factory.cc
diff --git a/chrome/browser/ui/app_list/start_page_service_factory.cc b/chrome/browser/ui/app_list/start_page_service_factory.cc
index 6e5c30b90dcaed58310272d03d463e80eb9e6e03..093711b40b236d6aed99151b5a36c88c3927cec8 100644
--- a/chrome/browser/ui/app_list/start_page_service_factory.cc
+++ b/chrome/browser/ui/app_list/start_page_service_factory.cc
@@ -55,7 +55,7 @@ KeyedService* StartPageServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* StartPageServiceFactory::GetBrowserContextToUse(
content::BrowserContext* context) const {
// The start page service needs an instance in ChromeOS guest mode.
- return chrome::GetBrowserContextRedirectedInIncognito(context);
+ return chrome::GetBrowserContextOwnInstanceInIncognito(context);
}
} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698