| Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| index af53bfb55c0bf19ec5f91acce0558dab855b41b4..c187c9a370e90070574438678b6a9d515de1390b 100644
|
| --- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| +++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| @@ -51,6 +51,7 @@ int32_t PPB_Graphics3D_Shared::ResizeBuffers(int32_t width, int32_t height) {
|
| return PP_ERROR_BADARGUMENT;
|
|
|
| gles2_impl()->ResizeCHROMIUM(width, height, 1.f, true);
|
| + SetSize(width, height);
|
| // TODO(alokp): Check if resize succeeded and return appropriate error code.
|
| return PP_OK;
|
| }
|
| @@ -161,4 +162,9 @@ void PPB_Graphics3D_Shared::DestroyGLES2Impl() {
|
| gles2_helper_.reset();
|
| }
|
|
|
| +void PPB_Graphics3D_Shared::SetSize(int32_t width, int32_t height) {
|
| + width_ = width;
|
| + height_ = height;
|
| +}
|
| +
|
| } // namespace ppapi
|
|
|