| 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 83ff58498eb4a533956229d7dbb147834e06006d..08460952bb7140e75d9873fcbc6df94785502662 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.h
|
| +++ b/content/browser/renderer_host/compositor_impl_android.h
|
| @@ -8,6 +8,7 @@
|
| #include <stddef.h>
|
|
|
| #include <memory>
|
| +#include <unordered_set>
|
|
|
| #include "base/cancelable_callback.h"
|
| #include "base/compiler_specific.h"
|
| @@ -103,6 +104,7 @@ class CONTENT_EXPORT CompositorImpl
|
| std::unique_ptr<cc::CopyOutputRequest> request) override;
|
| void SetNeedsAnimate() override;
|
| cc::FrameSinkId GetFrameSinkId() override;
|
| + void AddChildFrameSink(cc::FrameSinkId frame_sink_id) override;
|
|
|
| void SetVisible(bool visible);
|
| void CreateLayerTreeHost();
|
| @@ -165,8 +167,11 @@ class CONTENT_EXPORT CompositorImpl
|
| bool compositor_frame_sink_request_pending_;
|
|
|
| gpu::Capabilities gpu_capabilities_;
|
| - base::WeakPtrFactory<CompositorImpl> weak_factory_;
|
| + bool has_compositor_frame_sink_ = false;
|
| + std::unordered_set<cc::FrameSinkId, cc::FrameSinkIdHash>
|
| + pending_child_frame_sink_ids_;
|
|
|
| + base::WeakPtrFactory<CompositorImpl> weak_factory_;
|
| DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
|
| };
|
|
|
|
|