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

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

Issue 2786713002: scheduler: Use a non-empty tracing category in test (Closed)
Patch Set: Fix all the categories Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc b/third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc
index 800e8682346499450a2e64f5a441869c656148ee..2045fead77c9147569fd6dce6cc98316f9709fd3 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue_unittest.cc
@@ -23,10 +23,10 @@ void NopTask() {}
class WorkQueueTest : public testing::Test {
public:
void SetUp() override {
- time_domain_.reset(new RealTimeDomain(""));
- task_queue_ = make_scoped_refptr(
- new TaskQueueImpl(nullptr, time_domain_.get(),
- TaskQueue::Spec(TaskQueue::QueueType::TEST), "", ""));
+ time_domain_.reset(new RealTimeDomain("test"));
+ task_queue_ = make_scoped_refptr(new TaskQueueImpl(
+ nullptr, time_domain_.get(),
+ TaskQueue::Spec(TaskQueue::QueueType::TEST), "test", "test"));
work_queue_.reset(new WorkQueue(task_queue_.get(), "test",
WorkQueue::QueueType::IMMEDIATE));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698