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

Unified Diff: trunk/src/base/debug/trace_event_impl.cc

Issue 19572012: Revert 212230 "Create top-level separate targets for browser and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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 | « trunk/src/base/debug/trace_event.h ('k') | trunk/src/base/debug/trace_event_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/base/debug/trace_event_impl.cc
===================================================================
--- trunk/src/base/debug/trace_event_impl.cc (revision 212238)
+++ trunk/src/base/debug/trace_event_impl.cc (working copy)
@@ -42,8 +42,11 @@
}
};
+// Not supported in split-dll build. http://crbug.com/237249
+#if !defined(CHROME_SPLIT_DLL)
// The thread buckets for the sampling profiler.
BASE_EXPORT TRACE_EVENT_API_ATOMIC_WORD g_trace_state[3];
+#endif
namespace base {
namespace debug {
@@ -978,6 +981,8 @@
category_filter_ = CategoryFilter(category_filter);
EnableIncludedCategoryGroups();
+ // Not supported in split-dll build. http://crbug.com/237249
+ #if !defined(CHROME_SPLIT_DLL)
if (options & ENABLE_SAMPLING) {
sampling_thread_.reset(new TraceSamplingThread);
sampling_thread_->RegisterSampleBucket(
@@ -997,6 +1002,7 @@
DCHECK(false) << "failed to create thread";
}
}
+ #endif
dispatching_to_observer_list_ = true;
observer_list = enabled_state_observer_list_;
« no previous file with comments | « trunk/src/base/debug/trace_event.h ('k') | trunk/src/base/debug/trace_event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698