mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
restore FML_DCHECK removed due to a code reviewing error (#20953)
This commit is contained in:
parent
c2e70109f3
commit
841401db8c
@ -413,9 +413,7 @@ RasterStatus Rasterizer::DoDraw(
|
||||
|
||||
RasterStatus Rasterizer::DrawToSurface(flutter::LayerTree& layer_tree) {
|
||||
TRACE_EVENT0("flutter", "Rasterizer::DrawToSurface");
|
||||
if (!surface_) {
|
||||
return RasterStatus::kFailed;
|
||||
}
|
||||
FML_DCHECK(surface_);
|
||||
|
||||
// There is no way for the compositor to know how long the layer tree
|
||||
// construction took. Fortunately, the layer tree does. Grab that time
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user