Index: content/renderer/pepper/ppb_graphics_3d_impl.h |
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h |
index 9255e024cb5e864ba3b58bc663b3a92d2e516c6f..dca5aaa98e7cd820b39c671c7aba6d8064314621 100644 |
--- a/content/renderer/pepper/ppb_graphics_3d_impl.h |
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.h |
@@ -75,8 +75,7 @@ class PPB_Graphics3D_Impl : public ppapi::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; |
private: |
explicit PPB_Graphics3D_Impl(PP_Instance instance); |
@@ -116,12 +115,6 @@ class PPB_Graphics3D_Impl : public ppapi::PPB_Graphics3D_Shared, |
bool lost_context_ = false; |
#endif |
- // The width and height of the command buffer back buffer are first sized from |
- // this process, but then resized by the pepper process. Cache the original |
- // size. |
- int32_t original_width_ = 0; |
- int32_t original_height_ = 0; |
- |
bool has_alpha_; |
bool use_image_chromium_; |
std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_; |