Index: chrome/browser/web_applications/web_app_mac.mm |
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm |
index 22469261ae1ba4264c7a0046f495fc63e00eecb7..f373076973c9032c0047eeba50b910d72470c833 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -198,8 +198,9 @@ bool WebAppShortcutCreator::UpdateIcon(const FilePath& app_path) const { |
scoped_nsobject<IconFamily> icon_family([[IconFamily alloc] init]); |
bool image_added = false; |
+ info_.favicon.ToImageSkia()->EnsureRepsForSupportedScaleFactors(); |
std::vector<gfx::ImageSkiaRep> image_reps = |
- info_.favicon.ToImageSkia()->GetRepresentations(); |
+ info_.favicon.ToImageSkia()->image_reps(); |
for (size_t i = 0; i < image_reps.size(); ++i) { |
NSBitmapImageRep* image_rep = SkBitmapToImageRep( |
image_reps[i].sk_bitmap()); |