Index: chrome/browser/web_resource/promo_resource_service.cc |
diff --git a/chrome/browser/web_resource/promo_resource_service.cc b/chrome/browser/web_resource/promo_resource_service.cc |
index fbdeab1e7eec2f62f481167bcfe7315f58fbffe7..77a071f97a6c6ac53a90e0a2c99fa5811eb25b72 100644 |
--- a/chrome/browser/web_resource/promo_resource_service.cc |
+++ b/chrome/browser/web_resource/promo_resource_service.cc |
@@ -153,11 +153,12 @@ void PromoResourceService::ScheduleNotification(double promo_start, |
if (ms_until_start > 0) |
PostNotification(ms_until_start); |
if (ms_until_end > 0) { |
- PostNotification(ms_until_end); |
if (ms_until_start <= 0) { |
// Notify immediately if time is between start and end. |
PostNotification(0); |
} |
+ // Schedule notification at the end of promotion |
Dan Beam
2012/06/07 18:14:57
nit: . at end of comment.
aruslan
2012/06/07 18:21:35
Done.
|
+ PostNotification(ms_until_end); |
} |
} |
} |