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

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

Issue 672673005: Remove IsHighDPIEnabled, move EnableHighDPISupport to only place it's used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dpi-cleanup-5
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
Index: ui/base/resource/resource_bundle_win.cc
diff --git a/ui/base/resource/resource_bundle_win.cc b/ui/base/resource/resource_bundle_win.cc
index fa17eee50316d09eb2242857b7ef49377d00f13f..045f8ae899f7825f40256cd44d83bf93173e4585 100644
--- a/ui/base/resource/resource_bundle_win.cc
+++ b/ui/base/resource/resource_bundle_win.cc
@@ -49,7 +49,6 @@ void ResourceBundle::LoadCommonResources() {
SCALE_FACTOR_100P);
}
if (IsScaleFactorSupported(SCALE_FACTOR_200P)) {
- DCHECK(gfx::IsHighDPIEnabled());
AddDataPackFromPath(
GetResourcesPakFilePath("chrome_200_percent.pak"),
SCALE_FACTOR_200P);
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/gfx/screen_win.cc » ('j') | ui/gfx/screen_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698