Fix clang build.
TBR=rjkroege
Review URL: https://codereview.chromium.org/221123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260968 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
index c874aef..a92c895 100644
--- a/ui/gl/gl_surface_ozone.cc
+++ b/ui/gl/gl_surface_ozone.cc
@@ -25,11 +25,11 @@
: NativeViewGLSurfaceEGL(ozone_surface->GetEGLNativeWindow()),
ozone_surface_(ozone_surface.Pass()) {}
+ private:
virtual ~GLSurfaceOzoneEGL() {
Destroy(); // EGL surface must be destroyed before SurfaceOzone
}
- private:
// The native surface. Deleting this is allowed to free the EGLNativeWindow.
scoped_ptr<SurfaceOzone> ozone_surface_;