Commit 543e47e4 authored by Zinovy Nis's avatar Zinovy Nis Committed by Commit Bot

[clang-tidy] Use after move in CompositorFrame

Change-Id: I151fddfb5b2c390263a0ba6bde79f9502994ac95
Reviewed-on: https://chromium-review.googlesource.com/c/1338184
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: default avatarSunny Sachanandani <sunnyps@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609456}
parent 25594874
...@@ -253,7 +253,7 @@ bool Surface::QueueFrame( ...@@ -253,7 +253,7 @@ bool Surface::QueueFrame(
// If the deadline is in the past, then the CompositorFrame will activate // If the deadline is in the past, then the CompositorFrame will activate
// immediately. // immediately.
if (deadline_->Set(ResolveFrameDeadline(frame))) { if (deadline_->Set(ResolveFrameDeadline(pending_frame_data_->frame))) {
// Ask the SurfaceDependencyTracker to inform |this| when its dependencies // Ask the SurfaceDependencyTracker to inform |this| when its dependencies
// are resolved. // are resolved.
surface_manager_->dependency_tracker()->RequestSurfaceResolution(this); surface_manager_->dependency_tracker()->RequestSurfaceResolution(this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment