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

Unified Diff: base/android/build_info.cc

Issue 187903007: Make kAllowedToAccessOnNonjoinableThread debug-only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 6 years, 10 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 | base/lazy_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/build_info.cc
diff --git a/base/android/build_info.cc b/base/android/build_info.cc
index 9f7361d85012dd5d4e02c7a9d233f2affc5eff80..a1755afe9811c2e2173230f2834fc348d2f9e345 100644
--- a/base/android/build_info.cc
+++ b/base/android/build_info.cc
@@ -37,7 +37,9 @@ struct BuildInfoSingletonTraits {
}
static const bool kRegisterAtExit = false;
+#ifndef NDEBUG
static const bool kAllowedToAccessOnNonjoinableThread = true;
+#endif
};
BuildInfo::BuildInfo(JNIEnv* env)
« no previous file with comments | « no previous file | base/lazy_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698