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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2734983003: remove DCHECK for resourceless software allowing more than one render pass. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 15d72e6e3034b85f3020bf918d14201df3e99ac4..d89ffaefcaf0576e11c44fbcb2a7cd50eb951c7c 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1020,11 +1020,6 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
checkerboarded_needs_raster_content_area);
}
- // Should only have one render pass in resourceless software mode.
- DCHECK(draw_mode != DRAW_MODE_RESOURCELESS_SOFTWARE ||
- frame->render_passes.size() == 1u)
- << frame->render_passes.size();
-
TRACE_EVENT_END2("cc", "LayerTreeHostImpl::CalculateRenderPasses",
"draw_result", draw_result, "missing tiles",
num_missing_tiles);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698