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

Unified Diff: ui/base/resource/resource_bundle_ios.mm

Issue 646773004: [iOS] Load chrome_300_percent.pak file on @3x devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « ui/base/resource/resource_bundle.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_ios.mm
diff --git a/ui/base/resource/resource_bundle_ios.mm b/ui/base/resource/resource_bundle_ios.mm
index 80cc74a8f6f6cfb44fa4590dbd249225b065d79c..b84f8fe688bdd2c51c59fde2fb874eb831f04318 100644
--- a/ui/base/resource/resource_bundle_ios.mm
+++ b/ui/base/resource/resource_bundle_ios.mm
@@ -54,11 +54,9 @@ void ResourceBundle::LoadCommonResources() {
SCALE_FACTOR_200P);
}
- // TODO(rohitrao): Add a chrome_300_percent file and load it here. For now,
- // we are simply falling back to the 200P resources. http://crbug.com/413300.
if (IsScaleFactorSupported(SCALE_FACTOR_300P)) {
- AddDataPackFromPath(GetResourcesPakFilePath(@"chrome_200_percent", nil),
- SCALE_FACTOR_200P);
+ AddDataPackFromPath(GetResourcesPakFilePath(@"chrome_300_percent", nil),
+ SCALE_FACTOR_300P);
}
}
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698