Index: base/at_exit.cc |
diff --git a/base/at_exit.cc b/base/at_exit.cc |
index 0fba355698fbebc643fd3225d1323ec64964eb7d..05efa021499c6c5a8967fe0b1a379d4c9ee7f700 100644 |
--- a/base/at_exit.cc |
+++ b/base/at_exit.cc |
@@ -24,7 +24,7 @@ static AtExitManager* g_top_manager = NULL; |
AtExitManager::AtExitManager() : next_manager_(g_top_manager) { |
// If multiple modules instantiate AtExitManagers they'll end up living in this |
// module... they have to coexist. |
-#if !defined(COMPONENT_BUILD) |
+#if !defined(COMPONENT_BUILD) && !defined(COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY) |
Nico
2016/02/01 19:15:37
having base know about some gpu define seems wrong
|
DCHECK(!g_top_manager); |
#endif |
g_top_manager = this; |