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

Unified Diff: chrome/browser/chromeos/printing/printer_pref_manager_factory.cc

Issue 2616003002: Revert "[CUPS] Fix the browser crash in CUPS settings UI in guest mode." (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printing/printer_pref_manager_factory.cc
diff --git a/chrome/browser/chromeos/printing/printer_pref_manager_factory.cc b/chrome/browser/chromeos/printing/printer_pref_manager_factory.cc
index 4f082568fd3ece4c71b3ffdd568682ae72577845..7baed0e10c8e2c1ce8684abb205ad74b804526e6 100644
--- a/chrome/browser/chromeos/printing/printer_pref_manager_factory.cc
+++ b/chrome/browser/chromeos/printing/printer_pref_manager_factory.cc
@@ -21,7 +21,6 @@ base::LazyInstance<PrinterPrefManagerFactory> g_printer_pref_manager =
// static
PrinterPrefManager* PrinterPrefManagerFactory::GetForBrowserContext(
content::BrowserContext* context) {
- DCHECK(!context->IsOffTheRecord());
return static_cast<PrinterPrefManager*>(
GetInstance()->GetServiceForBrowserContext(context, true));
}
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698