Index: components/exo/surface.cc |
diff --git a/components/exo/surface.cc b/components/exo/surface.cc |
index 7649a08b9f0f8c956b023ee2a283879555f0afd9..301b8d96cdf52b2cbd112b2769a41e2383775d1d 100644 |
--- a/components/exo/surface.cc |
+++ b/components/exo/surface.cc |
@@ -433,14 +433,14 @@ void Surface::Commit() { |
if (current_begin_frame_ack_.sequence_number != |
cc::BeginFrameArgs::kInvalidFrameNumber) { |
- if (begin_frame_source_) |
- begin_frame_source_->DidFinishFrame(this, current_begin_frame_ack_); |
if (!current_begin_frame_ack_.has_damage) { |
compositor_frame_sink_holder_->GetCompositorFrameSink() |
->DidNotProduceFrame(current_begin_frame_ack_); |
} |
current_begin_frame_ack_.sequence_number = |
cc::BeginFrameArgs::kInvalidFrameNumber; |
+ if (begin_frame_source_) |
+ begin_frame_source_->DidFinishFrame(this); |
} |
} |