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

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

Issue 10696130: Get rid of implicit conversion to and from ImageSkiaRep (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
« no previous file with comments | « ui/gfx/image/image_skia.cc ('k') | ui/gfx/image/image_skia_rep.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia_rep.h
diff --git a/ui/gfx/image/image_skia_rep.h b/ui/gfx/image/image_skia_rep.h
index 84904b77967e1bf66d5d299a310da375f001e744..c7a689c24e5910815634c0c7e1a0ed95859142a8 100644
--- a/ui/gfx/image/image_skia_rep.h
+++ b/ui/gfx/image/image_skia_rep.h
@@ -24,20 +24,10 @@ class UI_EXPORT ImageSkiaRep {
// This allocates pixels in the bitmap.
ImageSkiaRep(const gfx::Size& size, ui::ScaleFactor scale_factor);
- // Creates a bitmap with a default scale factor of 1x.
- // Adds ref to |src|.
- // TODO(pkotwicz): This is temporary and should be removed ASAP.
- ImageSkiaRep(const SkBitmap& src);
-
// Creates a bitmap with given scale factor.
// Adds ref to |src|.
ImageSkiaRep(const SkBitmap& src, ui::ScaleFactor scale_factor);
- // Converts to and from SkBitmap.
- // TODO(pkotwicz): This is temporary and should be removed ASAP.
- ImageSkiaRep& operator=(const SkBitmap& other);
- operator SkBitmap&() const;
-
// Returns true if the backing bitmap is null.
bool is_null() const { return bitmap_.isNull(); }
« no previous file with comments | « ui/gfx/image/image_skia.cc ('k') | ui/gfx/image/image_skia_rep.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698