Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: apps/shell_window.cc

Issue 24175004: Remove dependency on ui::ScaleFactor from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new usage of scale in FastShowPickler Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/desktop_background/wallpaper_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell_window.cc
diff --git a/apps/shell_window.cc b/apps/shell_window.cc
index 44a3858df9c3af5106775fbea576be9dac67e039..cd8ddd02d50582ebc392d905b34524b6a1a8727a 100644
--- a/apps/shell_window.cc
+++ b/apps/shell_window.cc
@@ -457,7 +457,7 @@ void ShellWindow::UpdateExtensionAppIcon() {
// Triggers actual image loading with 1x resources. The 2x resource will
// be handled by IconImage class when requested.
- app_icon_image_->image_skia().GetRepresentation(ui::SCALE_FACTOR_100P);
+ app_icon_image_->image_skia().GetRepresentation(1.0f);
}
void ShellWindow::CloseContents(WebContents* contents) {
« no previous file with comments | « no previous file | ash/desktop_background/wallpaper_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698