more upstream changes

git-svn-id: https://leveldb.googlecode.com/svn/trunk@10 62dab493-f737-651d-591e-8d6aee1b9529
main
jorlow@chromium.org 14 years ago
parent 0e38925490
commit 4bcb231187
  1. 1
      port/port_chromium.cc
  2. 6
      util/env_chromium.cc

@ -8,7 +8,6 @@
#if defined(USE_SNAPPY) #if defined(USE_SNAPPY)
# include "third_party/snappy/src/snappy.h" # include "third_party/snappy/src/snappy.h"
# include "snappy-stubs-public.h"
#endif #endif
namespace leveldb { namespace leveldb {

@ -594,10 +594,8 @@ void ChromiumEnv::StartThread(void (*function)(void* arg), void* arg) {
new Thread(function, arg); // Will self-delete. new Thread(function, arg); // Will self-delete.
} }
// TODO(jorlow): This won't co-exist with Chrome. Need to find a better way. ::base::LazyInstance<ChromiumEnv, ::base::LeakyLazyInstanceTraits<ChromiumEnv> >
::base::AtExitManager exit_manager; default_env(::base::LINKER_INITIALIZED);
::base::LazyInstance<ChromiumEnv> default_env(::base::LINKER_INITIALIZED);
} }

Loading…
Cancel
Save