Index: ui/android/delegated_frame_host_android.cc |
diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc |
index 3963a3adb544e201d69bf2f8fdf0c6c503855453..2d9389e5063601dd8617d1bf18fd419c03ce2e30 100644 |
--- a/ui/android/delegated_frame_host_android.cc |
+++ b/ui/android/delegated_frame_host_android.cc |
@@ -94,6 +94,11 @@ void DelegatedFrameHostAndroid::SubmitCompositorFrame( |
} |
} |
+void DelegatedFrameHostAndroid::DidNotProduceFrame( |
+ const cc::BeginFrameAck& ack) { |
+ support_->DidNotProduceFrame(ack); |
+} |
+ |
cc::FrameSinkId DelegatedFrameHostAndroid::GetFrameSinkId() const { |
return frame_sink_id_; |
} |
@@ -183,12 +188,6 @@ void DelegatedFrameHostAndroid::OnNeedsBeginFrames(bool needs_begin_frames) { |
support_->SetNeedsBeginFrame(needs_begin_frames); |
} |
-void DelegatedFrameHostAndroid::OnDidFinishFrame(const cc::BeginFrameAck& ack) { |
- // If there was damage, SubmitCompositorFrame includes the ack. |
- if (!ack.has_damage) |
- support_->BeginFrameDidNotSwap(ack); |
-} |
- |
void DelegatedFrameHostAndroid::CreateNewCompositorFrameSinkSupport() { |
constexpr bool is_root = false; |
constexpr bool handles_frame_sink_id_invalidation = false; |