| Index: gpu/gles2_conform_support/egl/display.cc
|
| diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
|
| index 18f474211e20b7a345f60d4c5cffda137501bc0b..2528cdcba5cee0b139e15a40df0b235b72498126 100644
|
| --- a/gpu/gles2_conform_support/egl/display.cc
|
| +++ b/gpu/gles2_conform_support/egl/display.cc
|
| @@ -5,6 +5,7 @@
|
| #include "gpu/gles2_conform_support/egl/display.h"
|
|
|
| #include <vector>
|
| +#include "base/at_exit.h"
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
| @@ -31,8 +32,8 @@ Display::Display(EGLNativeDisplayType display_id)
|
| is_initialized_(false),
|
| create_offscreen_(false),
|
| create_offscreen_width_(0),
|
| - create_offscreen_height_(0) {
|
| -}
|
| + create_offscreen_height_(0),
|
| + exit_manager_(new base::AtExitManager) {}
|
|
|
| Display::~Display() {
|
| gles2::Terminate();
|
|
|