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

Unified Diff: cc/output/compositor_frame.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: Addressed reviewers' concerns 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
« no previous file with comments | « cc/output/compositor_frame.h ('k') | cc/output/delegated_frame_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/output/compositor_frame.h ('k') | cc/output/delegated_frame_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698