Chromium Code Reviews| Index: ppapi/proxy/ppb_graphics_3d_proxy.h |
| diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h |
| index 2ae06e9f064bcdc7293dfb4640f970945a517f4d..9f455c5b5a6540be96361641dcbad494ef532b29 100644 |
| --- a/ppapi/proxy/ppb_graphics_3d_proxy.h |
| +++ b/ppapi/proxy/ppb_graphics_3d_proxy.h |
| @@ -39,7 +39,7 @@ class PpapiCommandBufferProxy; |
| class PPAPI_PROXY_EXPORT Graphics3D : public PPB_Graphics3D_Shared { |
| public: |
| - explicit Graphics3D(const HostResource& resource); |
| + explicit Graphics3D(const HostResource& resource, const gfx::Size& size); |
|
bbudge
2016/07/09 01:20:19
nit: don't need explicit now.
piman
2016/07/09 01:26:45
Done.
|
| ~Graphics3D() override; |
| bool Init(gpu::gles2::GLES2Implementation* share_gles2, |
| @@ -65,8 +65,7 @@ class PPAPI_PROXY_EXPORT Graphics3D : public PPB_Graphics3D_Shared { |
| gpu::CommandBuffer* GetCommandBuffer() override; |
| gpu::GpuControl* GetGpuControl() override; |
| int32_t DoSwapBuffers(const gpu::SyncToken& sync_token, |
| - int32_t width, |
| - int32_t height) override; |
| + const gfx::Size& size) override; |
| std::unique_ptr<PpapiCommandBufferProxy> command_buffer_; |
| @@ -116,8 +115,7 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy { |
| void OnMsgDestroyTransferBuffer(const HostResource& context, int32_t id); |
| void OnMsgSwapBuffers(const HostResource& context, |
| const gpu::SyncToken& sync_token, |
| - int32_t width, |
| - int32_t height); |
| + const gfx::Size& size); |
| void OnMsgTakeFrontBuffer(const HostResource& context); |
| void OnMsgEnsureWorkVisible(const HostResource& context); |
| // Renderer->plugin message handlers. |