Index: components/scheduler/base/work_queue.cc |
diff --git a/components/scheduler/base/work_queue.cc b/components/scheduler/base/work_queue.cc |
index 338c0b1e94405733d3992ab74c9df06f1a270703..01ce4894392743a0ab7f99638f231b89f603f202 100644 |
--- a/components/scheduler/base/work_queue.cc |
+++ b/components/scheduler/base/work_queue.cc |
@@ -91,8 +91,8 @@ void WorkQueue::AssignSetIndex(size_t work_queue_set_index) { |
bool WorkQueue::ShouldRunBefore(const WorkQueue* other_queue) const { |
DCHECK(!work_queue_.empty()); |
DCHECK(!other_queue->work_queue_.empty()); |
- EnqueueOrder enqueue_order; |
- EnqueueOrder other_enqueue_order; |
+ EnqueueOrder enqueue_order = 0; |
+ EnqueueOrder other_enqueue_order = 0; |
bool have_task = GetFrontTaskEnqueueOrder(&enqueue_order); |
bool have_other_task = |
other_queue->GetFrontTaskEnqueueOrder(&other_enqueue_order); |