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..54c4c7a75f98b4ee92f500d1b144922f416ee749 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); |
+ Graphics3D(const HostResource& resource, const gfx::Size& size); |
~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. |