| 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 bf63108662beb6f4b25b7e14e37bc10084b8b783..9df0095c013938d575c77462fdae764c355d10d6 100644
|
| --- a/gpu/gles2_conform_support/egl/display.cc
|
| +++ b/gpu/gles2_conform_support/egl/display.cc
|
| @@ -23,7 +23,6 @@
|
| #include "gpu/command_buffer/service/valuebuffer_manager.h"
|
| #include "gpu/gles2_conform_support/egl/config.h"
|
| #include "gpu/gles2_conform_support/egl/surface.h"
|
| -#include "gpu/gles2_conform_support/egl/test_support.h"
|
|
|
| namespace {
|
| const int32_t kCommandBufferSize = 1024 * 1024;
|
| @@ -41,11 +40,6 @@
|
| base::AtExitManager* g_exit_manager;
|
| void RefAtExitManager() {
|
| base::AutoLock lock(g_exit_manager_lock.Get());
|
| -#if defined(COMPONENT_BUILD)
|
| - if (g_command_buffer_gles_has_atexit_manager) {
|
| - return;
|
| - }
|
| -#endif
|
| if (g_exit_manager_use_count == 0) {
|
| g_exit_manager = new base::AtExitManager;
|
| }
|
| @@ -53,11 +47,6 @@
|
| }
|
| void ReleaseAtExitManager() {
|
| base::AutoLock lock(g_exit_manager_lock.Get());
|
| -#if defined(COMPONENT_BUILD)
|
| - if (g_command_buffer_gles_has_atexit_manager) {
|
| - return;
|
| - }
|
| -#endif
|
| --g_exit_manager_use_count;
|
| if (g_exit_manager_use_count == 0) {
|
| delete g_exit_manager;
|
|
|