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

Unified Diff: chrome/browser/metrics/thread_watcher_android.cc

Issue 188003002: [Android] Fix compilation error: unused variable 'kAllowedToAccessOnNonjoinableThread' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/thread_watcher_android.cc
diff --git a/chrome/browser/metrics/thread_watcher_android.cc b/chrome/browser/metrics/thread_watcher_android.cc
index 1006ad5aea2d4b759fcfdc462b726fa40df4f474..e4f80868b50075dff824314b1de36b7ed924fbbe 100644
--- a/chrome/browser/metrics/thread_watcher_android.cc
+++ b/chrome/browser/metrics/thread_watcher_android.cc
@@ -39,7 +39,9 @@ void OnApplicationStateChange(
struct LeakyApplicationStatusListenerTraits {
static const bool kRegisterOnExit = false;
+#ifndef NDEBUG
static const bool kAllowedToAccessOnNonjoinableThread = true;
+#endif
static base::android::ApplicationStatusListener* New(void* instance) {
ANNOTATE_SCOPED_MEMORY_LEAK;
« no previous file with comments | « no previous file | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698