Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: ui/gfx/image/image_skia.h

Issue 10824359: Remove ImageSkia::empty and ImageSkia::extractSubset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/gfx/image/image_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia.h
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h
index 259a71e1b246470ecab115f4214ec3778196b60e..24422d2f09a5559c1f28a53532925a83daa35130 100644
--- a/ui/gfx/image/image_skia.h
+++ b/ui/gfx/image/image_skia.h
@@ -97,9 +97,6 @@ class UI_EXPORT ImageSkia {
std::vector<ImageSkiaRep> GetRepresentations() const;
#endif // OS_MACOSX
- // Returns true if object is null or its size is empty.
- bool empty() const;
-
// Returns true if this is a null object.
// TODO(pkotwicz): Merge this function into empty().
bool isNull() const { return storage_ == NULL; }
@@ -109,11 +106,6 @@ class UI_EXPORT ImageSkia {
int height() const;
gfx::Size size() const;
- // Wrapper function for SkBitmap::extractBitmap.
- // Deprecated, use ImageSkiaOperations::ExtractSubset instead.
- // TODO(pkotwicz): Remove this function.
- bool extractSubset(ImageSkia* dst, const SkIRect& subset) const;
-
// Returns pointer to 1x bitmap contained by this object. If there is no 1x
// bitmap, the bitmap whose scale factor is closest to 1x is returned.
// This function should only be used in unittests and on platforms which do
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/gfx/image/image_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698