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

Unified Diff: chrome/browser/history/select_favicon_frames.cc

Issue 10946024: Fix comment numbering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/select_favicon_frames.cc
diff --git a/chrome/browser/history/select_favicon_frames.cc b/chrome/browser/history/select_favicon_frames.cc
index 36a9b13a5d4529f6bc1d24d7713cff319c91e50c..5ce365a98f490e2ef547eda92933b4474ed90f74 100644
--- a/chrome/browser/history/select_favicon_frames.cc
+++ b/chrome/browser/history/select_favicon_frames.cc
@@ -122,7 +122,7 @@ size_t GetCandidateIndexWithBestScore(
// 2. Integer multiples are built using nearest neighbor sampling.
// 3. Else, use Lancosz scaling:
- // b) If available, from the next bigger variant.
+ // a) If available, from the next bigger variant.
int candidate_index = -1;
int min_area = INT_MAX;
for (size_t i = 0; i < candidate_sizes.size(); ++i) {
@@ -135,7 +135,7 @@ size_t GetCandidateIndexWithBestScore(
}
}
*score = 0.1f;
- // c) Else, from the biggest smaller variant.
+ // b) Else, from the biggest smaller variant.
if (candidate_index == -1) {
*score = 0;
candidate_index = BiggestCandidate(candidate_sizes);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698