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 4792d9058c7efd3c3b3ccf7109e6b7a7975ffe36..37a2679ad523ea283562c0bcec24534ad33e158c 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -25,6 +25,7 @@ class SkBitmap; |
struct ANativeWindow; |
namespace cc { |
+class BeginFrameManager; |
class Layer; |
class LayerTreeHost; |
} |
@@ -55,6 +56,10 @@ class CONTENT_EXPORT CompositorImpl |
// Destroy all surface textures associated with |child_process_id|. |
static void DestroyAllSurfaceTextures(int child_process_id); |
+ cc::BeginFrameManager* begin_frame_manager() { |
+ return begin_frame_manager_.get(); |
+ } |
+ |
private: |
// Compositor implementation. |
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) OVERRIDE; |
@@ -181,6 +186,8 @@ class CONTENT_EXPORT CompositorImpl |
base::TimeDelta vsync_period_; |
base::TimeTicks last_vsync_; |
+ scoped_ptr<cc::BeginFrameManager> begin_frame_manager_; |
+ |
base::WeakPtrFactory<CompositorImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |