Index: content/browser/renderer_host/backing_store_gtk.cc |
diff --git a/content/browser/renderer_host/backing_store_gtk.cc b/content/browser/renderer_host/backing_store_gtk.cc |
index 595c481b06b475d555ffc108ae054b50b0d81fe8..a029fba1ce7364c1e0a6ea14ae5dd9bd6ef45c79 100644 |
--- a/content/browser/renderer_host/backing_store_gtk.cc |
+++ b/content/browser/renderer_host/backing_store_gtk.cc |
@@ -664,20 +664,6 @@ void BackingStoreGtk::XShowRect(const gfx::Point &origin, |
rect.x() + origin.x(), rect.y() + origin.y()); |
} |
-void BackingStoreGtk::CairoShowRect(const gfx::Rect& rect, |
- GdkDrawable* drawable) { |
- cairo_surface_t* surface = cairo_xlib_surface_create( |
- display_, pixmap_, static_cast<Visual*>(visual_), |
- size().width(), size().height()); |
- cairo_t* cr = gdk_cairo_create(drawable); |
- cairo_set_source_surface(cr, surface, 0, 0); |
- |
- cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height()); |
- cairo_fill(cr); |
- cairo_destroy(cr); |
- cairo_surface_destroy(surface); |
-} |
- |
#if defined(TOOLKIT_GTK) |
void BackingStoreGtk::PaintToRect(const gfx::Rect& rect, GdkDrawable* target) { |
cairo_surface_t* surface = cairo_xlib_surface_create( |