fix: BrowserViews not painting their WebContents (#29919)

This commit is contained in:
Shelley Vohr 2021-07-30 01:59:24 +02:00 committed by GitHub
parent 9cc1b55663
commit 639f03977f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 10 deletions

View file

@ -33,6 +33,9 @@ class NativeBrowserViewViews : public NativeBrowserView {
void UpdateDraggableRegions(
const std::vector<mojom::DraggableRegionPtr>& regions) override;
// WebContentsObserver:
void RenderViewReady() override;
SkRegion* draggable_region() const { return draggable_region_.get(); }
private: