Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index ec1ae64dbfb374c6762d539aa680c84c76a0bc63..c80d73b9bcf663e541fda93c4ed3ae39773eaee9 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -48,9 +48,10 @@ class DirectOutputSurface : public cc::OutputSurface { |
DirectOutputSurface(scoped_ptr<WebKit::WebGraphicsContext3D> context3d) |
: cc::OutputSurface(context3d.Pass()) {} |
- virtual void Reshape(gfx::Size size, float scale_factor) OVERRIDE {} |
- virtual void PostSubBuffer(gfx::Rect rect, const ui::LatencyInfo&) OVERRIDE {} |
- virtual void SwapBuffers(const ui::LatencyInfo&) OVERRIDE { |
+ virtual void Reshape(gfx::Size size, float scale_factor) OVERRIDE { |
+ surface_size_ = size; |
+ } |
+ virtual void SwapBuffers(cc::CompositorFrame*) OVERRIDE { |
context3d()->shallowFlushCHROMIUM(); |
} |
}; |