Commit 055c2100 authored by kylechar's avatar kylechar Committed by Commit Bot

Make EvictDelegatedFrame() private

DelegatedFrameHostAndroid::EvictDelegatedFrame() is no longer used by
RenderWidgetHostViewAndroid so make it private instead of public.

Fixed: 938959
Change-Id: I1bc0aa50bf758dc2c11d226fb2af9263c8c67140
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2292123Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
Commit-Queue: Khushal <khushalsagar@chromium.org>
Auto-Submit: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787859}
parent aa3b35c6
......@@ -68,9 +68,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
return ResizeTimeout() / viz::BeginFrameArgs::DefaultInterval();
}
// FrameEvictorClient implementation.
void EvictDelegatedFrame() override;
// Advances the fallback surface to the first surface after navigation. This
// ensures that stale surfaces are not presented to the user for an indefinite
// period of time.
......@@ -123,6 +120,9 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
void SetTopControlsVisibleHeight(float height);
private:
// FrameEvictorClient implementation.
void EvictDelegatedFrame() override;
// viz::HostFrameSinkClient implementation.
void OnFirstSurfaceActivation(const viz::SurfaceInfo& surface_info) override;
void OnFrameTokenChanged(uint32_t frame_token) override;
......
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