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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc

Issue 2693953005: [scheduler] Disable background thread load tracker by default. (Closed)
Patch Set: Created 3 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 | third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc b/third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc
index 187364ecb5126651055f9fe76787aaf84f696bb1..0cb6b5d265261570804db53fbd60affdb088f3a4 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker.cc
@@ -14,7 +14,7 @@ ThreadLoadTracker::ThreadLoadTracker(base::TimeTicks now,
base::TimeDelta reporting_interval,
base::TimeDelta waiting_period)
: time_(now),
- thread_state_(ThreadState::ACTIVE),
+ thread_state_(ThreadState::PAUSED),
last_state_change_time_(now),
waiting_period_(waiting_period),
reporting_interval_(reporting_interval),
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scheduler/base/thread_load_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698