OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/gpu/queue_message_swap_promise.h" | 5 #include "content/renderer/gpu/queue_message_swap_promise.h" |
6 | 6 |
7 #include "content/renderer/gpu/frame_swap_message_queue.h" | 7 #include "content/renderer/gpu/frame_swap_message_queue.h" |
8 #include "ipc/ipc_sync_message_filter.h" | 8 #include "ipc/ipc_sync_message_filter.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 messages.weak_clear(); | 55 messages.weak_clear(); |
56 PromiseCompleted(); | 56 PromiseCompleted(); |
57 } | 57 } |
58 | 58 |
59 void QueueMessageSwapPromise::PromiseCompleted() { | 59 void QueueMessageSwapPromise::PromiseCompleted() { |
60 #if DCHECK_IS_ON | 60 #if DCHECK_IS_ON |
61 completed_ = true; | 61 completed_ = true; |
62 #endif | 62 #endif |
63 } | 63 } |
64 | 64 |
65 int64 QueueMessageSwapPromise::TraceId() const { | |
66 return 0; | |
67 } | |
68 | |
69 } // namespace content | 65 } // namespace content |
OLD | NEW |