Index: content/public/browser/render_widget_host.h |
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h |
index 0e71ac8cc6358306eae7ae6f357fc4a0c92e4cc0..30308736a76bdfb0ec9591ac8bcbaa62f651856e 100644 |
--- a/content/public/browser/render_widget_host.h |
+++ b/content/public/browser/render_widget_host.h |
@@ -290,16 +290,6 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender { |
// Get the screen info corresponding to this render widget. |
virtual void GetWebScreenInfo(blink::WebScreenInfo* result) = 0; |
- // Grabs snapshot from renderer side and returns the bitmap to a callback. |
- // If |src_rect| is empty, the whole contents is copied. This is an expensive |
- // operation due to the IPC, but it can be used as a fallback method when |
- // CopyFromBackingStore fails due to the backing store not being available or, |
- // in composited mode, when the accelerated surface is not available to the |
- // browser side. |
- virtual void GetSnapshotFromRenderer( |
- const gfx::Rect& src_subrect, |
- const base::Callback<void(bool, const SkBitmap&)>& callback) = 0; |
- |
virtual SkBitmap::Config PreferredReadbackFormat() = 0; |
protected: |