| Index: chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| index a59c28c55cd15689f4b926c654ea95762f7fd77e..1e93fa74ae7c8abd7e01ad556b630324b1c3343e 100644
|
| --- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
|
| @@ -292,9 +292,9 @@ bool FaviconsMatch(BookmarkModel* model_a,
|
|
|
| // Compare only the 1x bitmaps as only those are synced.
|
| SkBitmap bitmap_a = image_a.AsImageSkia().GetRepresentation(
|
| - ui::SCALE_FACTOR_100P).sk_bitmap();
|
| + 1.0f).sk_bitmap();
|
| SkBitmap bitmap_b = image_b.AsImageSkia().GetRepresentation(
|
| - ui::SCALE_FACTOR_100P).sk_bitmap();
|
| + 1.0f).sk_bitmap();
|
| return FaviconBitmapsMatch(bitmap_a, bitmap_b);
|
| }
|
|
|
| @@ -721,7 +721,9 @@ gfx::Image CreateFavicon(SkColor color) {
|
| bmp.setConfig(SkBitmap::kARGB_8888_Config, pixel_width, pixel_height);
|
| bmp.allocPixels();
|
| bmp.eraseColor(color);
|
| - favicon.AddRepresentation(gfx::ImageSkiaRep(bmp, favicon_scale_factors[i]));
|
| + favicon.AddRepresentation(
|
| + gfx::ImageSkiaRep(bmp,
|
| + ui::GetScaleFactorScale(favicon_scale_factors[i])));
|
| }
|
| return gfx::Image(favicon);
|
| }
|
|
|