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

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

Issue 10704199: Implement remaining SkBitmapOperations as ImageSkiaOperations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: ui/gfx/image/image_skia.h
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h
index 375b1feedbead6b9785b166d7e94062db353d56d..7d23d2fcfb3863601b3b480c2ecefbf127701b7f 100644
--- a/ui/gfx/image/image_skia.h
+++ b/ui/gfx/image/image_skia.h
@@ -100,10 +100,9 @@ class UI_EXPORT ImageSkia {
int height() const;
gfx::Size size() const;
- // Operates on each stored image rep. Note that it may not have
- // all image reps for supported scale factors.
- // TODO(oshima|pkotwicz): Investigate if this can be eliminated
- // after ImageSkiaSource conversion.
+ // 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

Powered by Google App Engine
This is Rietveld 408576698