| Index: trunk/src/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (revision 224498)
|
| +++ trunk/src/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (working copy)
|
| @@ -416,8 +416,7 @@
|
| const gfx::ImageSkia& icon,
|
| ui::ScaleFactor icon_scale_factor,
|
| base::DictionaryValue* network_info) {
|
| - gfx::ImageSkiaRep image_rep =
|
| - icon.GetRepresentation(ui::GetImageScale(icon_scale_factor));
|
| + gfx::ImageSkiaRep image_rep = icon.GetRepresentation(icon_scale_factor);
|
| std::string icon_url =
|
| icon.isNull() ? "" : webui::GetBitmapDataUrl(image_rep.sk_bitmap());
|
| network_info->SetString(kNetworkInfoKeyIconURL, icon_url);
|
| @@ -1218,7 +1217,7 @@
|
| gfx::ImageSkia* icon =
|
| ResourceBundle::GetSharedInstance().GetImageSkiaNamed(resource_id);
|
| gfx::ImageSkiaRep image_rep = icon->GetRepresentation(
|
| - ui::GetImageScale(web_ui()->GetDeviceScaleFactor()));
|
| + web_ui()->GetDeviceScaleFactor());
|
| return webui::GetBitmapDataUrl(image_rep.sk_bitmap());
|
| }
|
|
|
|
|