| Index: ui/gfx/gl/gl_context_osmesa.cc
|
| diff --git a/ui/gfx/gl/gl_context_osmesa.cc b/ui/gfx/gl/gl_context_osmesa.cc
|
| index efa6d1695275dd3cc5140f7068a31646f3c28236..b40f284a9b93864252341b0300f6f05d4ef5b862 100644
|
| --- a/ui/gfx/gl/gl_context_osmesa.cc
|
| +++ b/ui/gfx/gl/gl_context_osmesa.cc
|
| @@ -18,12 +18,8 @@ GLContextOSMesa::GLContextOSMesa(GLShareGroup* share_group)
|
| context_(NULL) {
|
| }
|
|
|
| -GLContextOSMesa::~GLContextOSMesa() {
|
| - Destroy();
|
| -}
|
| -
|
| -bool GLContextOSMesa::Initialize(
|
| - GLSurface* compatible_surface, GpuPreference gpu_preference) {
|
| +bool GLContextOSMesa::Initialize(GLSurface* compatible_surface,
|
| + GpuPreference gpu_preference) {
|
| DCHECK(!context_);
|
|
|
| OSMesaContext share_handle = static_cast<OSMesaContext>(
|
| @@ -127,4 +123,8 @@ void GLContextOSMesa::SetSwapInterval(int interval) {
|
| LOG(WARNING) << "GLContextOSMesa::SetSwapInterval is ignored.";
|
| }
|
|
|
| +GLContextOSMesa::~GLContextOSMesa() {
|
| + Destroy();
|
| +}
|
| +
|
| } // namespace gfx
|
|
|