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

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

Issue 8050008: gcc 4.6 warnings cleanup (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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 | « chrome/browser/history/history_browsertest.cc ('k') | media/filters/ffmpeg_demuxer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
}
« no previous file with comments | « chrome/browser/history/history_browsertest.cc ('k') | media/filters/ffmpeg_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698