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

Unified Diff: cc/output/compositor_frame.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: Created 4 years, 2 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
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

Powered by Google App Engine
This is Rietveld 408576698