| 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 be8ee76431c1a48f9d4b49a78cbcc7d03ff90855..74076bada9adee6f017323412ef1d8a1fee51bdf 100644
|
| --- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| +++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
|
| @@ -13,12 +13,10 @@
|
| namespace ppapi {
|
|
|
| PPB_Graphics3D_Shared::PPB_Graphics3D_Shared(PP_Instance instance)
|
| - : Resource(OBJECT_IS_IMPL, instance) {
|
| -}
|
| + : Resource(OBJECT_IS_IMPL, instance) {}
|
|
|
| PPB_Graphics3D_Shared::PPB_Graphics3D_Shared(const HostResource& host_resource)
|
| - : Resource(OBJECT_IS_PROXY, host_resource) {
|
| -}
|
| + : Resource(OBJECT_IS_PROXY, host_resource) {}
|
|
|
| PPB_Graphics3D_Shared::~PPB_Graphics3D_Shared() {
|
| // Make sure that GLES2 implementation has already been destroyed.
|
| @@ -58,8 +56,9 @@ int32_t PPB_Graphics3D_Shared::ResizeBuffers(int32_t width, int32_t height) {
|
| int32_t PPB_Graphics3D_Shared::SwapBuffers(
|
| scoped_refptr<TrackedCallback> callback) {
|
| if (HasPendingSwap()) {
|
| - Log(PP_LOGLEVEL_ERROR, "PPB_Graphics3D.SwapBuffers: Plugin attempted swap "
|
| - "with previous swap still pending.");
|
| + Log(PP_LOGLEVEL_ERROR,
|
| + "PPB_Graphics3D.SwapBuffers: Plugin attempted swap "
|
| + "with previous swap still pending.");
|
| // Already a pending SwapBuffers that hasn't returned yet.
|
| return PP_ERROR_INPROGRESS;
|
| }
|
| @@ -131,10 +130,10 @@ bool PPB_Graphics3D_Shared::CreateGLES2Impl(
|
| GetGpuControl()));
|
|
|
| if (!gles2_impl_->Initialize(
|
| - transfer_buffer_size,
|
| - kMinTransferBufferSize,
|
| - std::max(kMaxTransferBufferSize, transfer_buffer_size),
|
| - gpu::gles2::GLES2Implementation::kNoLimit)) {
|
| + transfer_buffer_size,
|
| + kMinTransferBufferSize,
|
| + std::max(kMaxTransferBufferSize, transfer_buffer_size),
|
| + gpu::gles2::GLES2Implementation::kNoLimit)) {
|
| return false;
|
| }
|
|
|
| @@ -150,4 +149,3 @@ void PPB_Graphics3D_Shared::DestroyGLES2Impl() {
|
| }
|
|
|
| } // namespace ppapi
|
| -
|
|
|