mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1252499 - only insert blank tile when really needed r=liuche
MozReview-Commit-ID: 5O7gUBDl1D4
This commit is contained in:
parent
3c2efbc0cf
commit
5ce116ce22
@ -1631,7 +1631,7 @@ public class LocalBrowserDB implements BrowserDB {
|
||||
// that inside out topsites SQL query would be difficult given the other processing we're already doing there).
|
||||
final int blanksRequired = suggestedRangeLimit - topSitesCursor.getCount();
|
||||
|
||||
if (blanksRequired < 0) {
|
||||
if (blanksRequired <= 0) {
|
||||
return topSitesCursor;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user