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

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

Issue 10890023: Miscellaneous cleanups from several months ago I never got around to landing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/ui/omnibox/omnibox_view_browsertest.cc
===================================================================
--- chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (revision 153800)
+++ chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (working copy)
@@ -224,11 +224,10 @@
return;
content::NotificationRegistrar registrar;
- registrar.Add(
- this,
- tab_count < expected_tab_count
- ? static_cast<int>(chrome::NOTIFICATION_TAB_PARENTED)
- : static_cast<int>(content::NOTIFICATION_WEB_CONTENTS_DESTROYED),
+ registrar.Add(this,
+ (tab_count < expected_tab_count) ?
+ static_cast<int>(chrome::NOTIFICATION_TAB_PARENTED) :
+ static_cast<int>(content::NOTIFICATION_WEB_CONTENTS_DESTROYED),
content::NotificationService::AllSources());
while (!HasFailure() && browser->tab_count() != expected_tab_count)

Powered by Google App Engine
This is Rietveld 408576698