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

Unified Diff: ui/gfx/image/image_skia_operations.cc

Issue 11673010: Flip the default value of the flag to enable scaling in ImageSkiaOperations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « chrome/browser/about_flags.cc ('k') | ui/gfx/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia_operations.cc
diff --git a/ui/gfx/image/image_skia_operations.cc b/ui/gfx/image/image_skia_operations.cc
index b07993ddffacea8e5bb7b8e19e4cd51625147658..f5fb488b97b0c3a0726294319eacc33dd37c8719 100644
--- a/ui/gfx/image/image_skia_operations.cc
+++ b/ui/gfx/image/image_skia_operations.cc
@@ -26,8 +26,8 @@ namespace gfx {
namespace {
bool ScalingEnabled() {
- static bool scale_images = !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableScalingInImageSkiaOperations);
+ static bool scale_images = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableScalingInImageSkiaOperations);
return scale_images;
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | ui/gfx/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698