We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e7010 commit 841401dCopy full SHA for 841401d
shell/common/rasterizer.cc
@@ -413,9 +413,7 @@ RasterStatus Rasterizer::DoDraw(
413
414
RasterStatus Rasterizer::DrawToSurface(flutter::LayerTree& layer_tree) {
415
TRACE_EVENT0("flutter", "Rasterizer::DrawToSurface");
416
- if (!surface_) {
417
- return RasterStatus::kFailed;
418
- }
+ FML_DCHECK(surface_);
419
420
// There is no way for the compositor to know how long the layer tree
421
// construction took. Fortunately, the layer tree does. Grab that time
0 commit comments