Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Unified Diff: base/at_exit.cc

Issue 1640243002: command_buffer_gles2: Add test command_buffer_gles2_test for command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698