Skip to content

Commit

Permalink
Revert "add log flutter#6092"
Browse files Browse the repository at this point in the history
This reverts commit d29712e.
  • Loading branch information
fzyzcjy committed Oct 9, 2022
1 parent c250f91 commit 7e5972e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions shell/common/rasterizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,13 @@ RasterStatus Rasterizer::DoDraw(
if (raster_status == RasterStatus::kSuccess) {
last_layer_tree_ = std::move(layer_tree);
} else if (ShouldResubmitFrame(raster_status)) {
TRACE_EVENT0("flutter", "RasterResubmit"); // NOTE MODIFIED add
resubmitted_layer_tree_ = std::move(layer_tree);
resubmitted_recorder_ = frame_timings_recorder->CloneUntil(
FrameTimingsRecorder::State::kBuildEnd);
FML_DLOG(INFO)
<< "hi Rasterizer::DoDraw early return since ShouldResubmitFrame";
return raster_status;
} else if (raster_status == RasterStatus::kDiscarded) {
TRACE_EVENT0("flutter", "RasterDiscarded"); // NOTE MODIFIED add
FML_DLOG(INFO) << "hi Rasterizer::DoDraw early return since kDiscarded";
return raster_status;
}
Expand Down

0 comments on commit 7e5972e

Please sign in to comment.