diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 08:34:37 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 08:34:37 +0000 |
commit | 68764f11c914c41cfdc6d11ce0d66fe547077347 (patch) | |
tree | 9cd7d8f979ff0174d258311341e0a8c6ab50172c /skia | |
parent | 51587ecc7eeb696997b11432f9f480d21ec49f1e (diff) | |
download | chromium_src-68764f11c914c41cfdc6d11ce0d66fe547077347.zip chromium_src-68764f11c914c41cfdc6d11ce0d66fe547077347.tar.gz chromium_src-68764f11c914c41cfdc6d11ce0d66fe547077347.tar.bz2 |
Revert 82836 - Temporary change to test perf regression (skia_utils)This change tests which part of this review:http://codereview.chromium.org/6897013/is causing a performance regression. This change will be reverted later tonight.
TBR=sail@chromium.org
Review URL: http://codereview.chromium.org/6895046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/skia_utils_mac.mm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/skia/ext/skia_utils_mac.mm b/skia/ext/skia_utils_mac.mm index 96a3163..c78121a 100644 --- a/skia/ext/skia_utils_mac.mm +++ b/skia/ext/skia_utils_mac.mm @@ -116,9 +116,6 @@ SkBitmap CGImageToSkBitmap(CGImageRef image) { } SkBitmap NSImageToSkBitmap(NSImage* image, NSSize size, bool is_opaque) { - // TODO(sail): For testing, will be reverted. - [image bestRepresentationForDevice:nil]; - SkBitmap bitmap; bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width, size.height); if (bitmap.allocPixels() != true) |