mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
osr: Implement InvalidateLocalSurfaceIdOnEviction (fixes issue #2483)
This fixes an empty-rendering issue when the view is shown after being evicted.
This commit is contained in:
committed by
Marshall Greenblatt
parent
28599ae1a5
commit
6dad2c45ee
@@ -114,7 +114,9 @@ class CefDelegatedFrameHostClient : public content::DelegatedFrameHostClient {
|
||||
return view_->render_widget_host()->CollectSurfaceIdsForEviction();
|
||||
}
|
||||
|
||||
void InvalidateLocalSurfaceIdOnEviction() override {}
|
||||
void InvalidateLocalSurfaceIdOnEviction() override {
|
||||
view_->InvalidateLocalSurfaceId();
|
||||
}
|
||||
|
||||
bool ShouldShowStaleContentOnEviction() override { return false; }
|
||||
|
||||
|
Reference in New Issue
Block a user