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..6a9d003b396105d44d61fd0016c8e277c1923448 100644 |
| --- a/cc/output/compositor_frame.cc |
| +++ b/cc/output/compositor_frame.cc |
| @@ -14,4 +14,8 @@ CompositorFrame::~CompositorFrame() {} |
| CompositorFrame& CompositorFrame::operator=(CompositorFrame&& other) = default; |
| +bool CompositorFrame::IsEmpty() const { |
| + return render_pass_list.empty() && resource_list.empty(); |
|
danakj
2016/10/25 22:23:07
I find this function weird..
1) resource_list is
Fady Samuel
2016/10/26 03:13:55
I agree we probably don't need this or just return
Saman Sami
2016/10/26 14:41:18
1) I'll fix it.
2) There are certain places that w
|
| +} |
| + |
| } // namespace cc |