diff options
Diffstat (limited to 'ui/gfx/image/image.cc')
-rw-r--r-- | ui/gfx/image/image.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/gfx/image/image.cc b/ui/gfx/image/image.cc index e748dd9..66fb97c 100644 --- a/ui/gfx/image/image.cc +++ b/ui/gfx/image/image.cc @@ -224,13 +224,6 @@ Image::Image() { // |storage_| is NULL for empty Images. } -Image::Image(const SkBitmap* bitmap) - : storage_(new internal::ImageStorage(Image::kImageRepSkia)) { - internal::ImageRepSkia* rep = new internal::ImageRepSkia( - new ImageSkia(bitmap)); - AddRepresentation(rep); -} - Image::Image(const SkBitmap& bitmap) : storage_(new internal::ImageStorage(Image::kImageRepSkia)) { internal::ImageRepSkia* rep = |