| Index: ui/gfx/image/image_skia.cc
|
| diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc
|
| index b2ede647ad0b52cb33016a3018f624cc88fb1a47..65f2d48741233911458e18986c57f6ea12c4d56c 100644
|
| --- a/ui/gfx/image/image_skia.cc
|
| +++ b/ui/gfx/image/image_skia.cc
|
| @@ -237,10 +237,6 @@ std::vector<ImageSkiaRep> ImageSkia::GetRepresentations() const {
|
|
|
| #endif // OS_MACOSX
|
|
|
| -bool ImageSkia::empty() const {
|
| - return isNull() || storage_->size().IsEmpty();
|
| -}
|
| -
|
| int ImageSkia::width() const {
|
| return isNull() ? 0 : storage_->size().width();
|
| }
|
| @@ -253,12 +249,6 @@ int ImageSkia::height() const {
|
| return isNull() ? 0 : storage_->size().height();
|
| }
|
|
|
| -bool ImageSkia::extractSubset(ImageSkia* dst, const SkIRect& subset) const {
|
| - gfx::Rect rect(subset.x(), subset.y(), subset.width(), subset.height());
|
| - *dst = ImageSkiaOperations::ExtractSubset(*this, rect);
|
| - return (!dst->isNull());
|
| -}
|
| -
|
| std::vector<ImageSkiaRep> ImageSkia::image_reps() const {
|
| if (isNull())
|
| return std::vector<ImageSkiaRep>();
|
|
|