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

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: 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.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);

Powered by Google App Engine
This is Rietveld 408576698