| Index: content/public/browser/android/compositor.h
|
| diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
|
| index be022bc50498cf7faed970b281280fb86e3ddf1a..e622c08f69c3048060569e2f852a19c3bb63bf9b 100644
|
| --- a/content/public/browser/android/compositor.h
|
| +++ b/content/public/browser/android/compositor.h
|
| @@ -20,6 +20,7 @@ class Layer;
|
| namespace ui {
|
| class ResourceManager;
|
| class UIResourceProvider;
|
| +class ViewRoot;
|
| }
|
|
|
| namespace content {
|
| @@ -34,10 +35,10 @@ class CONTENT_EXPORT Compositor {
|
| // instance can be used. This should be called only once.
|
| static void Initialize();
|
|
|
| - // Creates and returns a compositor instance. |root_window| needs to outlive
|
| + // Creates and returns a compositor instance. |view_root| needs to outlive
|
| // the compositor as it manages callbacks on the compositor.
|
| static Compositor* Create(CompositorClient* client,
|
| - gfx::NativeWindow root_window);
|
| + ui::ViewRoot* view_root);
|
|
|
| // Attaches the layer tree.
|
| virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0;
|
|
|