| Index: content/common/gpu/media/gpu_video_encode_accelerator.h
|
| diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h
|
| index 9596f99dc013103fb87e9fba07da50a608d99fab..e09cb1809dd4538865c06f59155444aea2eb2853 100644
|
| --- a/content/common/gpu/media/gpu_video_encode_accelerator.h
|
| +++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
|
| @@ -13,8 +13,8 @@
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "content/common/gpu/gpu_command_buffer_stub.h"
|
| #include "gpu/config/gpu_info.h"
|
| -#include "gpu/ipc/service/gpu_command_buffer_stub.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "media/video/video_encode_accelerator.h"
|
| #include "ui/gfx/geometry/size.h"
|
| @@ -38,10 +38,9 @@
|
| class GpuVideoEncodeAccelerator
|
| : public IPC::Listener,
|
| public media::VideoEncodeAccelerator::Client,
|
| - public gpu::GpuCommandBufferStub::DestructionObserver {
|
| + public GpuCommandBufferStub::DestructionObserver {
|
| public:
|
| - GpuVideoEncodeAccelerator(int32_t host_route_id,
|
| - gpu::GpuCommandBufferStub* stub);
|
| + GpuVideoEncodeAccelerator(int32_t host_route_id, GpuCommandBufferStub* stub);
|
| ~GpuVideoEncodeAccelerator() override;
|
|
|
| // Initialize this accelerator with the given parameters and send
|
| @@ -63,7 +62,7 @@
|
| bool key_frame) override;
|
| void NotifyError(media::VideoEncodeAccelerator::Error error) override;
|
|
|
| - // gpu::GpuCommandBufferStub::DestructionObserver implementation.
|
| + // GpuCommandBufferStub::DestructionObserver implementation.
|
| void OnWillDestroyStub() override;
|
|
|
| // Static query for supported profiles. This query calls the appropriate
|
| @@ -112,10 +111,10 @@
|
| // Route ID to communicate with the host.
|
| const uint32_t host_route_id_;
|
|
|
| - // Unowned pointer to the underlying gpu::GpuCommandBufferStub. |this| is
|
| + // Unowned pointer to the underlying GpuCommandBufferStub. |this| is
|
| // registered as a DestuctionObserver of |stub_| and will self-delete when
|
| // |stub_| is destroyed.
|
| - gpu::GpuCommandBufferStub* const stub_;
|
| + GpuCommandBufferStub* const stub_;
|
|
|
| // Owned pointer to the underlying VideoEncodeAccelerator.
|
| scoped_ptr<media::VideoEncodeAccelerator> encoder_;
|
|
|