Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index ec3609a937c4e46fd26b56c0d193a7af1dc21071..38f2d8d83531861bdec35c81bc8e9e9798ee035e 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -174,7 +174,8 @@ class CONTENT_EXPORT RenderWidget |
RenderWidgetCompositor* compositor() const; |
- virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback); |
+ virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( |
+ bool fallback, size_t max_bytes_pending_upload); |
// Callback for use with BeginSmoothScroll. |
typedef base::Callback<void()> SmoothScrollCompletionCallback; |
@@ -513,7 +514,8 @@ class CONTENT_EXPORT RenderWidget |
// Creates a 3D context associated with this view. |
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( |
- const WebKit::WebGraphicsContext3D::Attributes& attributes); |
+ const WebKit::WebGraphicsContext3D::Attributes& attributes, |
+ size_t max_bytes_pending_upload); |
bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); |