mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
5948024: [DNT] Fix NavigationController raw_ptr during WebContents destruction
https://chromium-review.googlesource.com/c/chromium/src/+/5948024
This commit is contained in:
@@ -194,4 +194,6 @@ OffScreenWebContentsView::GetBackForwardTransitionAnimationManager() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void OffScreenWebContentsView::DestroyBackForwardTransitionAnimationManager() {}
|
||||
|
||||
} // namespace electron
|
||||
|
||||
@@ -75,6 +75,7 @@ class OffScreenWebContentsView : public content::WebContentsView,
|
||||
void UpdateWindowControlsOverlay(const gfx::Rect& bounding_rect) override {}
|
||||
content::BackForwardTransitionAnimationManager*
|
||||
GetBackForwardTransitionAnimationManager() override;
|
||||
void DestroyBackForwardTransitionAnimationManager() override;
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
bool CloseTabAfterEventTrackingIfNeeded() override;
|
||||
|
||||
Reference in New Issue
Block a user