From ea03166466c920e4a669c07c95ee17d7787859f0 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 17 Aug 2015 15:54:56 -0700 Subject: [PATCH] Fix issue caught by Chrome Clang plugin --- ui/gl/gl_surface_ios.h | 2 ++ ui/gl/gl_surface_ios.mm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ui/gl/gl_surface_ios.h b/ui/gl/gl_surface_ios.h index 3b1d317542f..55ecd76998f 100644 --- a/ui/gl/gl_surface_ios.h +++ b/ui/gl/gl_surface_ios.h @@ -28,6 +28,8 @@ class GL_EXPORT GLSurfaceIOS : public GLSurface { uint32_t depth_stencil_packed_buffer_; Size last_configured_size_; bool framebuffer_setup_complete_; + + ~GLSurfaceIOS() override; void SetupFramebufferIfNecessary(); DISALLOW_COPY_AND_ASSIGN(GLSurfaceIOS); diff --git a/ui/gl/gl_surface_ios.mm b/ui/gl/gl_surface_ios.mm index a65c666ab89..0f8b1fc212b 100644 --- a/ui/gl/gl_surface_ios.mm +++ b/ui/gl/gl_surface_ios.mm @@ -30,6 +30,8 @@ GLSurfaceIOS::GLSurfaceIOS(gfx::AcceleratedWidget widget, framebuffer_setup_complete_(false) { } +GLSurfaceIOS::~GLSurfaceIOS() {} + #ifndef NDEBUG static void GLSurfaceIOS_AssertFramebufferCompleteness(void) { GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);