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

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

Issue 10837142: Remove --load-2x-resources flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. 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
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/base/resource/resource_bundle_aurax11.cc » ('j') | no next file with comments »
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 7d2b2dc90e3ce08a52ffaa7e2a069c01fc5f2d1b..812436f2b6cd59e527964b0e9da95de96aafdf0f 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -67,7 +67,6 @@ void Create2xResourceIfMissing(gfx::ImageSkia image, int idr) {
CommandLine* command_line = CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(
switches::kHighlightMissing2xResources) &&
- command_line->HasSwitch(switches::kLoad2xResources) &&
!image.HasRepresentation(ui::SCALE_FACTOR_200P)) {
gfx::ImageSkiaRep image_rep = image.GetRepresentation(SCALE_FACTOR_200P);
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/base/resource/resource_bundle_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698