summaryrefslogtreecommitdiffstats
path: root/base/threading/thread_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/thread_local.h')
-rw-r--r--base/threading/thread_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/thread_local.h b/base/threading/thread_local.h
index 3cdcb94..79cf3c5 100644
--- a/base/threading/thread_local.h
+++ b/base/threading/thread_local.h
@@ -114,7 +114,7 @@ class ThreadLocalBoolean {
}
void Set(bool val) {
- tlp_.Set(reinterpret_cast<void*>(val ? 1 : 0));
+ tlp_.Set(val ? this : NULL);
}
private: