Chromium Code Reviews| Index: cc/output/compositor_frame.cc |
| diff --git a/cc/output/compositor_frame.cc b/cc/output/compositor_frame.cc |
| index 82479cf3b43ab363fb4cd1b458754f10e8da1429..2ca1efea588320eb480e4986062d82434858105b 100644 |
| --- a/cc/output/compositor_frame.cc |
| +++ b/cc/output/compositor_frame.cc |
| @@ -14,4 +14,9 @@ CompositorFrame::~CompositorFrame() {} |
| CompositorFrame& CompositorFrame::operator=(CompositorFrame&& other) = default; |
| +bool CompositorFrame::IsEmpty() const { |
| + DCHECK(resource_list.empty() == render_pass_list.empty()); |
|
Fady Samuel
2016/10/26 16:17:41
This DCHECK is wrong:
DCHECK(resource_list.empty(
|
| + return render_pass_list.empty(); |
| +} |
| + |
| } // namespace cc |