Index: chrome/browser/ui/metro_pin_tab_helper_win.cc |
diff --git a/chrome/browser/ui/metro_pin_tab_helper_win.cc b/chrome/browser/ui/metro_pin_tab_helper_win.cc |
index 064bccf7c3a8fdf2058644adbda568f21ece3ed9..58255d737ea8efbdf50f6d232abf4c848307c632 100644 |
--- a/chrome/browser/ui/metro_pin_tab_helper_win.cc |
+++ b/chrome/browser/ui/metro_pin_tab_helper_win.cc |
@@ -85,7 +85,7 @@ bool CreateSiteSpecificLogo(const SkBitmap& bitmap, |
SkColor dominant_color = color_utils::CalculateKMeanColorOfBitmap(bitmap); |
SkPaint paint; |
paint.setColor(dominant_color); |
- gfx::Canvas canvas(gfx::Size(kLogoWidth, kLogoHeight), ui::SCALE_FACTOR_100P, |
+ gfx::Canvas canvas(gfx::Size(kLogoWidth, kLogoHeight), 1.0f, |
true); |
canvas.DrawRect(gfx::Rect(0, 0, kLogoWidth, kLogoHeight), paint); |
@@ -381,7 +381,7 @@ void MetroPinTabHelper::TogglePinnedToStartScreen() { |
if (favicon_tab_helper->FaviconIsValid()) { |
// Only the 1x bitmap data is needed. |
favicon = favicon_tab_helper->GetFavicon().AsImageSkia().GetRepresentation( |
- ui::SCALE_FACTOR_100P).sk_bitmap(); |
+ 1.0f).sk_bitmap(); |
} |
favicon_chooser_.reset(new FaviconChooser(this, title, url_str, favicon)); |