Home | History | Annotate | Download | only in browser

Lines Matching defs:pixbuf

7 #include <gdk-pixbuf/gdk-pixbuf.h>
46 // At this point, the pixbuf is owned by the loader.
47 GdkPixbuf* pixbuf = gdk_pixbuf_loader_get_pixbuf(loader);
49 if (pixbuf) {
50 DCHECK_EQ(size, gdk_pixbuf_get_width(pixbuf));
51 DCHECK_EQ(size, gdk_pixbuf_get_height(pixbuf));
52 // Takes ownership of |pixbuf|.
53 g_object_ref(pixbuf);
54 image_.reset(new gfx::Image(pixbuf));