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

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

Issue 9815006: ui/gfx: Remove the deprecated "operator const GdkPixbuf*" from Image API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_gtk.cc ('k') | ui/gfx/image/image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image.h
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h
index bc5d20a5cf1add125ea7cd26444ffccf4d677a1b..cc4cc9bc9688446c69d159d8d529c76035e2a80f 100644
--- a/ui/gfx/image/image.h
+++ b/ui/gfx/image/image.h
@@ -120,9 +120,7 @@ class UI_EXPORT Image {
// DEPRECATED ----------------------------------------------------------------
// Conversion handlers. These wrap the ToType() variants.
operator const SkBitmap&() const;
-#if defined(TOOLKIT_USES_GTK)
- operator GdkPixbuf*() const;
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
operator NSImage*() const;
#endif
// ---------------------------------------------------------------------------
« no previous file with comments | « ui/base/resource/resource_bundle_gtk.cc ('k') | ui/gfx/image/image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698