зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 77abc92bd89c (bug 1369604)
This commit is contained in:
Родитель
767eb4e07d
Коммит
f868385951
|
@ -39,7 +39,7 @@ public class Highlight implements Item {
|
|||
|
||||
private long historyId;
|
||||
|
||||
private @Nullable Metadata metadata; // lazily-loaded.
|
||||
private @Nullable Metadata metadata;
|
||||
private @Nullable final String metadataJSON;
|
||||
private @Nullable String fastImageURL;
|
||||
private int fastDescriptionLength;
|
||||
|
|
|
@ -90,9 +90,6 @@ public class HighlightsRanking {
|
|||
|
||||
/**
|
||||
* Create a list of highlights based on the candidates provided by the input cursor.
|
||||
*
|
||||
* THIS METHOD IS CRITICAL FOR HIGHLIGHTS PERFORMANCE AND HAS BEEN OPTIMIZED (bug 1369604):
|
||||
* please be careful what you add to it!
|
||||
*/
|
||||
public static List<Highlight> rank(Cursor cursor, int limit) {
|
||||
List<HighlightCandidate> highlights = extractFeatures(cursor);
|
||||
|
|
Загрузка…
Ссылка в новой задаче