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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 11746029: Cause Chrome Frame to follow the fast shutdown path, which cleans up infobars and avoids a crash on… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/views/external_tab_container_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 55de48b7332e19a0744f99bbc9214f770a8894d8..59ec943c2ebdc81a1bfe07f5b0202ed957af20e1 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1504,8 +1504,7 @@ AccessTokenStore* ChromeContentBrowserClient::CreateAccessTokenStore() {
}
bool ChromeContentBrowserClient::IsFastShutdownPossible() {
- const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
- return !browser_command_line.HasSwitch(switches::kChromeFrame);
+ return true;
}
void ChromeContentBrowserClient::OverrideWebkitPrefs(
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698