summaryrefslogtreecommitdiffstats
path: root/ui/ui_unittests.gypi
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 23:28:13 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 23:28:13 +0000
commit3ee8852b73624373d2ace2c3d36880df0e9293ed (patch)
tree0a8ea0a1f62a2b23758f239d03f2728fda1e0e4f /ui/ui_unittests.gypi
parentfb312ebce43358b862d36f4c0aca6dffc9273abe (diff)
downloadchromium_src-3ee8852b73624373d2ace2c3d36880df0e9293ed.zip
chromium_src-3ee8852b73624373d2ace2c3d36880df0e9293ed.tar.gz
chromium_src-3ee8852b73624373d2ace2c3d36880df0e9293ed.tar.bz2
Properly flip the CGContext during UIImage->SkBitmap conversions.
Skia's origin is in the upper-left whereas CG's origin is in the lower-left, so the CGContext needs to be flipped in order to prevent the resulting image from being upside-down. TBR=thakis@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10963064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui_unittests.gypi')
-rw-r--r--ui/ui_unittests.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui_unittests.gypi b/ui/ui_unittests.gypi
index 6907554..c4f0b67 100644
--- a/ui/ui_unittests.gypi
+++ b/ui/ui_unittests.gypi
@@ -65,6 +65,7 @@
'gfx/image/image_unittest.cc',
'gfx/image/image_unittest_util.cc',
'gfx/image/image_unittest_util.h',
+ 'gfx/image/image_unittest_util_ios.mm',
'gfx/image/image_unittest_util_mac.mm',
'gfx/insets_unittest.cc',
],