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

Unified Diff: chrome/common/thumbnail_score_unittest.cc

Issue 7839019: Remove a static initializer in thumbnail_score.o (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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
« no previous file with comments | « chrome/common/thumbnail_score.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/thumbnail_score_unittest.cc
diff --git a/chrome/common/thumbnail_score_unittest.cc b/chrome/common/thumbnail_score_unittest.cc
index 5e3151fc7d4727b292e8db634cce0aad06eee599..7e17ada4a07abaaaca7b268434748b2f1e3fa92d 100644
--- a/chrome/common/thumbnail_score_unittest.cc
+++ b/chrome/common/thumbnail_score_unittest.cc
@@ -82,6 +82,7 @@ TEST(ThumbnailScoreTest, ShouldConsiderUpdating) {
EXPECT_FALSE(score.ShouldConsiderUpdating());
// Make it old. Then, it's no longer new enough.
- score.time_at_snapshot -= ThumbnailScore::kUpdateThumbnailTime;
+ score.time_at_snapshot -=
+ base::TimeDelta::FromDays(ThumbnailScore::kUpdateThumbnailTimeDays);
EXPECT_TRUE(score.ShouldConsiderUpdating());
}
« no previous file with comments | « chrome/common/thumbnail_score.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698