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

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: 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') | cc/layers/layer.cc » ('J')
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 96c6abd7ed63de73d0dbfbbf9d87699b44e5e976..fcbd49a56b23d5829c866f4c1afd080a4700a44b 100644
--- a/apps/shell_window.cc
+++ b/apps/shell_window.cc
@@ -452,7 +452,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') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698