Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 3bca4f8079c57a89d8c56f476551f4414fa2c424..c5cf29ad9f1bdad5a502d22c8d66ce396e7bfad1 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -5216,8 +5216,6 @@ void Browser::OnWindowDidShow() { |
return; |
window_has_shown_ = true; |
- bool did_show_bubble = false; |
- |
// Show the First Run information bubble if we've been told to. |
PrefService* local_state = g_browser_process->local_state(); |
if (local_state && |
@@ -5236,14 +5234,12 @@ void Browser::OnWindowDidShow() { |
// Reset the preference so we don't show the bubble for subsequent windows. |
local_state->ClearPref(prefs::kShouldShowFirstRunBubble); |
window_->GetLocationBar()->ShowFirstRunBubble(bubble_type); |
- did_show_bubble = true; |
} else if (is_type_tabbed()) { |
GlobalErrorService* service = |
GlobalErrorServiceFactory::GetForProfile(profile()); |
GlobalError* error = service->GetFirstGlobalErrorWithBubbleView(); |
if (error) { |
error->ShowBubbleView(this); |
- did_show_bubble = true; |
} |
} |
} |