| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 141560)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -4235,7 +4235,8 @@
|
| } else if (pref_name == prefs::kInstantEnabled ||
|
| pref_name == prefs::kMetricsReportingEnabled ||
|
| pref_name == prefs::kSearchSuggestEnabled) {
|
| - if (!InstantController::IsEnabled(profile())) {
|
| + if (browser_shutdown::ShuttingDownWithoutClosingBrowsers() ||
|
| + !InstantController::IsEnabled(profile())) {
|
| if (instant()) {
|
| instant()->DestroyPreviewContents();
|
| instant_.reset();
|
|
|