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

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

Issue 10837142: Remove --load-2x-resources flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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_aurax11.cc
diff --git a/ui/base/resource/resource_bundle_aurax11.cc b/ui/base/resource/resource_bundle_aurax11.cc
index 14ffa3c0fcadb9f2e5b52b472adb542a94d0e916..c6ac1657ca8ffbaae72400da31d2452f99abcd1d 100644
--- a/ui/base/resource/resource_bundle_aurax11.cc
+++ b/ui/base/resource/resource_bundle_aurax11.cc
@@ -26,8 +26,7 @@ FilePath GetResourcesPakFilePath(const std::string& pak_name) {
}
bool ShouldLoad2xResources() {
- return gfx::Display::GetForcedDeviceScaleFactor() > 1.0f ||
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoad2xResources);
+ return gfx::Display::GetForcedDeviceScaleFactor() > 1.0f;
pkotwicz 2012/08/07 16:04:58 As per off line discussion, this should always ret
flackr 2012/08/07 18:47:50 Removed function.
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698