| Index: chrome/common/thumbnail_score.cc
|
| diff --git a/chrome/common/thumbnail_score.cc b/chrome/common/thumbnail_score.cc
|
| index e2f41a0feb36b28243208c2b50c71a98efcd4fb8..ee9a03189f48d77e7552faa3291764bc6d93f614 100644
|
| --- a/chrome/common/thumbnail_score.cc
|
| +++ b/chrome/common/thumbnail_score.cc
|
| @@ -70,15 +70,16 @@ bool ThumbnailScore::Equals(const ThumbnailScore& rhs) const {
|
| }
|
|
|
| std::string ThumbnailScore::ToString() const {
|
| - return StringPrintf("boring_score: %f, at_top %d, good_clipping %d, "
|
| - "load_completed: %d, "
|
| - "time_at_snapshot: %f, redirect_hops_from_dest: %d",
|
| - boring_score,
|
| - at_top,
|
| - good_clipping,
|
| - load_completed,
|
| - time_at_snapshot.ToDoubleT(),
|
| - redirect_hops_from_dest);
|
| + return base::StringPrintf(
|
| + "boring_score: %f, at_top %d, good_clipping %d, "
|
| + "load_completed: %d, "
|
| + "time_at_snapshot: %f, redirect_hops_from_dest: %d",
|
| + boring_score,
|
| + at_top,
|
| + good_clipping,
|
| + load_completed,
|
| + time_at_snapshot.ToDoubleT(),
|
| + redirect_hops_from_dest);
|
| }
|
|
|
| bool ShouldReplaceThumbnailWith(const ThumbnailScore& current,
|
|
|