diff options
author | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-14 05:48:54 +0000 |
---|---|---|
committer | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-14 05:48:54 +0000 |
commit | 2b4f7e7be99649ad667ec6658448dcebc75ec124 (patch) | |
tree | ae4ecaed0c7f891bd20a2f2e53229e9c082c605e /ui/gfx/image/image.h | |
parent | 701d1e8389d6f6b93f557e0a73b79ccaea5b8ac6 (diff) | |
download | chromium_src-2b4f7e7be99649ad667ec6658448dcebc75ec124.zip chromium_src-2b4f7e7be99649ad667ec6658448dcebc75ec124.tar.gz chromium_src-2b4f7e7be99649ad667ec6658448dcebc75ec124.tar.bz2 |
Revert 136823 - Get rid of Image::Image(SkBitmap*); because of win build failure
Bug=124566
Test=Compiles on CrOS,Mac
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136812
Review URL: https://chromiumcodereview.appspot.com/10378009
TBR=pkotwicz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10392075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/image/image.h')
-rw-r--r-- | ui/gfx/image/image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h index 2fd4be3..b5bb3bf 100644 --- a/ui/gfx/image/image.h +++ b/ui/gfx/image/image.h @@ -65,6 +65,10 @@ class UI_EXPORT Image { // Creates a new image with the default representation. explicit Image(const ImageSkia& image); + // Creates a new image with the default representation. The object will take + // ownership of the image. + explicit Image(const SkBitmap* bitmap); + // Creates a new image by copying the bitmap for use as the default // representation. explicit Image(const SkBitmap& bitmap); |