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

Unified Diff: ui/base/resource/resource_bundle.cc

Issue 574663003: Enables 300P support for iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review. Created 6 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 | ui/base/resource/resource_bundle_ios.mm » ('j') | ui/gfx/image/image_ios_unittest.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.cc
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
index ea47d0e486ad9a00de507e87044f230465eae781..b19133a5fd254ec3cb6239388d08ef68913ba0c8 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -610,9 +610,7 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) {
gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay();
if (display.device_scale_factor() > 2.0) {
DCHECK_EQ(3.0, display.device_scale_factor());
- // TODO(lliabraa): Add 3x images instead of using 2x on 3x screens.
- // crbug.com/413300
- supported_scale_factors.push_back(SCALE_FACTOR_200P);
+ supported_scale_factors.push_back(SCALE_FACTOR_300P);
} else if (display.device_scale_factor() > 1.0) {
DCHECK_EQ(2.0, display.device_scale_factor());
supported_scale_factors.push_back(SCALE_FACTOR_200P);
« no previous file with comments | « no previous file | ui/base/resource/resource_bundle_ios.mm » ('j') | ui/gfx/image/image_ios_unittest.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698