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

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

Issue 2362493002: Stack sampling profiler: set process and thread information (Closed)
Patch Set: address comments Created 4 years, 3 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 | « chrome/browser/metrics/thread_watcher.cc ('k') | chrome/gpu/chrome_content_gpu_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/thread_watcher_unittest.cc
diff --git a/chrome/browser/metrics/thread_watcher_unittest.cc b/chrome/browser/metrics/thread_watcher_unittest.cc
index e2489eb490a22d8725f267c942e79b199d2ee6c7..749988418c5269a49c12a556b5391fcef47d5d76 100644
--- a/chrome/browser/metrics/thread_watcher_unittest.cc
+++ b/chrome/browser/metrics/thread_watcher_unittest.cc
@@ -751,7 +751,7 @@ TEST_F(ThreadWatcherListTest, Restart) {
class TestingJankTimeBomb : public JankTimeBomb {
public:
explicit TestingJankTimeBomb(base::TimeDelta duration)
- : JankTimeBomb(duration),
+ : JankTimeBomb(duration, metrics::CallStackProfileParams::UI_THREAD),
thread_id_(base::PlatformThread::CurrentId()),
alarm_invoked_(false) {
}
« no previous file with comments | « chrome/browser/metrics/thread_watcher.cc ('k') | chrome/gpu/chrome_content_gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698