summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource/notification_promo.cc
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 01:33:26 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 01:33:26 +0000
commit537b16416ca1020d734b814817d4869428ded3bd (patch)
tree4508c78d5608c71b6b0e7cb6fdd53584d4989bc3 /chrome/browser/web_resource/notification_promo.cc
parentae64739f1b28e50131a636568026ab3c4d57f7fb (diff)
downloadchromium_src-537b16416ca1020d734b814817d4869428ded3bd.zip
chromium_src-537b16416ca1020d734b814817d4869428ded3bd.tar.gz
chromium_src-537b16416ca1020d734b814817d4869428ded3bd.tar.bz2
Revert 137328 - Add a unit test for increments.
BUG=119373 TEST=unit tests pass. Review URL: https://chromiumcodereview.appspot.com/10398032 TBR=achuith@chromium.org Review URL: https://chromiumcodereview.appspot.com/10386159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_resource/notification_promo.cc')
-rw-r--r--chrome/browser/web_resource/notification_promo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/web_resource/notification_promo.cc b/chrome/browser/web_resource/notification_promo.cc
index 9b8ad53..6f31d9b 100644
--- a/chrome/browser/web_resource/notification_promo.cc
+++ b/chrome/browser/web_resource/notification_promo.cc
@@ -384,7 +384,7 @@ bool NotificationPromo::CanShow() const {
!promo_text_.empty() &&
group_ < max_group_ &&
!ExceedsMaxViews() &&
- base::Time::FromDoubleT(StartTimeForGroup()) <= base::Time::Now() &&
+ base::Time::FromDoubleT(StartTimeForGroup()) < base::Time::Now() &&
base::Time::FromDoubleT(end_) > base::Time::Now() &&
IsBuildAllowed(build_) &&
IsPlatformAllowed(platform_);