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

Unified Diff: chrome/browser/resources/md_history/list_container.js

Issue 2377383003: MD History: Round down timestamp used for incremental queries (Closed)
Patch Set: Created 4 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/browser/resources/md_history/app.crisper.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/list_container.js
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
index 5028965cdde8530275a74898aa19918252bd9726..dd7c29c11ae7adbbdc8ad1d23af3d3f3aa57d703 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -79,7 +79,7 @@ Polymer({
var lastVisitTime = 0;
if (incremental) {
var lastVisit = this.queryResult.results.slice(-1)[0];
- lastVisitTime = lastVisit ? lastVisit.time : 0;
+ lastVisitTime = lastVisit ? Math.floor(lastVisit.time) : 0;
}
var maxResults =
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698