Index: content/browser/renderer_host/compositor_impl_android.h |
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h |
index 4d6065d9a28fd90867c77c944a0b5fcddad8ffbc..58a1fb38f0002a506bbbd3d1e064202a62ffa30f 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -24,7 +24,7 @@ class GraphicsContext; |
class CompositorImpl : public Compositor, |
public WebKit::WebLayerTreeViewClient { |
public: |
- CompositorImpl(); |
+ CompositorImpl(Compositor::Client* client); |
piman
2012/10/12 20:53:06
nit: explicit
no sievers
2012/10/12 22:33:51
Done.
|
virtual ~CompositorImpl(); |
static bool IsInitialized(); |
@@ -35,8 +35,7 @@ class CompositorImpl : public Compositor, |
virtual void SetWindowBounds(const gfx::Size& size) OVERRIDE; |
virtual bool CompositeAndReadback( |
void *pixels, const gfx::Rect& rect) OVERRIDE; |
- virtual void OnSurfaceUpdated( |
- const SurfacePresentedCallback& callback) OVERRIDE; |
+ virtual void Composite() OVERRIDE; |
// WebLayerTreeViewClient implementation. |
virtual void updateAnimations(double frameBeginTime) OVERRIDE; |
@@ -59,6 +58,8 @@ class CompositorImpl : public Compositor, |
ANativeWindow* window_; |
int surface_id_; |
+ Compositor::Client* client_; |
+ |
DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
}; |