Index: chrome/browser/rlz/rlz_unittest.cc |
diff --git a/chrome/browser/rlz/rlz_unittest.cc b/chrome/browser/rlz/rlz_unittest.cc |
index 2b09959ea3655b32b7f39e266ae38113fe91f03a..81686da19c79f1cde667990efd3917772363781f 100644 |
--- a/chrome/browser/rlz/rlz_unittest.cc |
+++ b/chrome/browser/rlz/rlz_unittest.cc |
@@ -230,9 +230,12 @@ void RlzLibTest::SetRegistryBrandValue(const wchar_t* name, |
#endif |
void RlzLibTest::SimulateOmniboxUsage() { |
+ // Set is_popup_open for the OmniboxLog to be true. |
+ OmniboxLog dummy = OmniboxLog(NULL, false, NULL, true, NULL, NULL, NULL, NULL, |
+ NULL, NULL, NULL, NULL); |
tracker_.Observe(chrome::NOTIFICATION_OMNIBOX_OPENED_URL, |
content::NotificationService::AllSources(), |
- content::Details<OmniboxLog>(NULL)); |
+ content::Details<OmniboxLog>(dummy)); |
} |
void RlzLibTest::SimulateHomepageUsage() { |