Commit 069af228 authored by Saman Sami's avatar Saman Sami Committed by Commit Bot

Don't report OnFirstSurfaceActivation to CompositorImpl

Bug: 893850
Change-Id: Icb5d59ac7dd6a6cf1dfd6e17f913966d6d546c29
Reviewed-on: https://chromium-review.googlesource.com/c/1294012Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
Commit-Queue: Saman Sami <samans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601616}
parent bcab5d9d
...@@ -991,7 +991,7 @@ void CompositorImpl::TearDownDisplayAndUnregisterRootFrameSink() { ...@@ -991,7 +991,7 @@ void CompositorImpl::TearDownDisplayAndUnregisterRootFrameSink() {
void CompositorImpl::RegisterRootFrameSink() { void CompositorImpl::RegisterRootFrameSink() {
GetHostFrameSinkManager()->RegisterFrameSinkId( GetHostFrameSinkManager()->RegisterFrameSinkId(
frame_sink_id_, this, viz::ReportFirstSurfaceActivation::kYes); frame_sink_id_, this, viz::ReportFirstSurfaceActivation::kNo);
GetHostFrameSinkManager()->SetFrameSinkDebugLabel(frame_sink_id_, GetHostFrameSinkManager()->SetFrameSinkDebugLabel(frame_sink_id_,
"CompositorImpl"); "CompositorImpl");
} }
...@@ -1441,4 +1441,8 @@ void CompositorImpl::OnFatalOrSurfaceContextCreationFailure( ...@@ -1441,4 +1441,8 @@ void CompositorImpl::OnFatalOrSurfaceContextCreationFailure(
} }
} }
void CompositorImpl::OnFirstSurfaceActivation(const viz::SurfaceInfo& info) {
NOTREACHED();
}
} // namespace content } // namespace content
...@@ -148,8 +148,7 @@ class CONTENT_EXPORT CompositorImpl ...@@ -148,8 +148,7 @@ class CONTENT_EXPORT CompositorImpl
void SetVSyncPaused(bool paused) override; void SetVSyncPaused(bool paused) override;
// viz::HostFrameSinkClient implementation. // viz::HostFrameSinkClient implementation.
void OnFirstSurfaceActivation(const viz::SurfaceInfo& surface_info) override { void OnFirstSurfaceActivation(const viz::SurfaceInfo& surface_info) override;
}
void OnFrameTokenChanged(uint32_t frame_token) override {} void OnFrameTokenChanged(uint32_t frame_token) override {}
// display::DisplayObserver implementation. // display::DisplayObserver implementation.
......
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