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

Unified Diff: gpu/command_buffer/client/gles2_lib.cc

Issue 2079003: Work around bug in gcc's name mangling causing linker to crash on Mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_lib.cc
===================================================================
--- gpu/command_buffer/client/gles2_lib.cc (revision 47205)
+++ gpu/command_buffer/client/gles2_lib.cc (working copy)
@@ -6,9 +6,11 @@
#include "../common/thread_local.h"
namespace gles2 {
-namespace {
-gpu::ThreadLocalKey g_gl_context_key;
-} // namespace anonymous
+// TODO(kbr): the use of this anonymous namespace core dumps the
+// linker on Mac OS X 10.6 when the symbol ordering file is used
+// namespace {
+static gpu::ThreadLocalKey g_gl_context_key;
+// } // namespace anonymous
void Initialize() {
g_gl_context_key = gpu::ThreadLocalAlloc();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698