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

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

Issue 326073005: Enable arbitrary scale factor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 6 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/gfx/image/image_skia.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_unittest.cc
diff --git a/ui/gfx/image/image_skia_unittest.cc b/ui/gfx/image/image_skia_unittest.cc
index 15337a863a9d34dfffbd05bf44e6999065057a0d..e3e93c73b78989d832203c2b075319e1581979a3 100644
--- a/ui/gfx/image/image_skia_unittest.cc
+++ b/ui/gfx/image/image_skia_unittest.cc
@@ -424,9 +424,6 @@ TEST_F(ImageSkiaTest, Unscaled) {
}
TEST_F(ImageSkiaTest, ArbitraryScaleFactor) {
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kAllowArbitraryScaleFactorInImageSkia);
-
// Do not test if the ImageSkia doesn't support arbitrary scale factors.
if (!ImageSkia::IsDSFScalingInImageSkiaEnabled())
return;
@@ -497,9 +494,6 @@ TEST_F(ImageSkiaTest, ArbitraryScaleFactor) {
}
TEST_F(ImageSkiaTest, ArbitraryScaleFactorWithMissingResource) {
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kAllowArbitraryScaleFactorInImageSkia);
-
// Do not test if the ImageSkia doesn't support arbitrary scale factors.
if (!ImageSkia::IsDSFScalingInImageSkiaEnabled())
return;
@@ -517,9 +511,6 @@ TEST_F(ImageSkiaTest, ArbitraryScaleFactorWithMissingResource) {
}
TEST_F(ImageSkiaTest, UnscaledImageForArbitraryScaleFactor) {
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kAllowArbitraryScaleFactorInImageSkia);
-
// Do not test if the ImageSkia doesn't support arbitrary scale factors.
if (!ImageSkia::IsDSFScalingInImageSkiaEnabled())
return;
« no previous file with comments | « ui/gfx/image/image_skia.cc ('k') | ui/gfx/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698