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

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

Issue 10880063: image: Remove operator for converting from SkBitmap to ImageSkia. (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/gfx/image/image_skia.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia.cc
diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc
index 65f2d48741233911458e18986c57f6ea12c4d56c..f0b90a15ffa9601481de40cdf16f74076ce7610a 100644
--- a/ui/gfx/image/image_skia.cc
+++ b/ui/gfx/image/image_skia.cc
@@ -160,11 +160,6 @@ ImageSkia& ImageSkia::operator=(const ImageSkia& other) {
return *this;
}
-ImageSkia& ImageSkia::operator=(const SkBitmap& other) {
- Init(ImageSkiaRep(other, ui::SCALE_FACTOR_100P));
- return *this;
-}
-
ImageSkia::~ImageSkia() {
}
« no previous file with comments | « ui/gfx/image/image_skia.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698