Skip to content
Snippets Groups Projects
Commit aa121d4d authored by satish@chromium.org's avatar satish@chromium.org
Browse files

Build fix

TBR=thakis

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69108 0039d316-1c4b-4281-b951-d872f2087c98
parent 625332e0
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,8 @@ class LazyInstance : public LazyInstanceHelper { ...@@ -128,7 +128,8 @@ class LazyInstance : public LazyInstanceHelper {
// Create the instance in the space provided by |buf_|. // Create the instance in the space provided by |buf_|.
instance_ = Traits::New(buf_); instance_ = Traits::New(buf_);
// Traits::Delete will be null for LeakyLazyInstannceTraits // Traits::Delete will be null for LeakyLazyInstannceTraits
CompleteInstance(this, (Traits::Delete == NULL) ? NULL : OnExit); void (*dtor)(void*) = Traits::Delete;
CompleteInstance(this, (dtor == NULL) ? NULL : OnExit);
} }
// This annotation helps race detectors recognize correct lock-less // This annotation helps race detectors recognize correct lock-less
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment