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

Unified Diff: chrome/browser/protector/settings_change_global_error.cc

Issue 10388239: Make NetworkProfileBubble not use BrowserList::GetLastActive() as much. Instead pass it a profile a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: chrome/browser/protector/settings_change_global_error.cc
===================================================================
--- chrome/browser/protector/settings_change_global_error.cc (revision 138102)
+++ chrome/browser/protector/settings_change_global_error.cc (working copy)
@@ -204,7 +204,7 @@
}
void SettingsChangeGlobalError::OnBrowserSetLastActive(
- const Browser* browser) {
+ Browser* browser) {
if (show_on_browser_activation_ && browser && browser->is_type_tabbed()) {
// A tabbed browser window got activated, show the error bubble again.
// Calling ShowBubble() immediately from here does not always work because

Powered by Google App Engine
This is Rietveld 408576698