fix: context-menu event with BaseWindows (#44952)

fix: context-menu event with BaseWindows

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2024-12-04 16:03:02 -08:00 committed by GitHub
parent 9a7848ced1
commit 2d45b7df34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 78 additions and 26 deletions

View file

@ -24,8 +24,6 @@ class DelayedNativeViewHost : public views::NativeViewHost {
void ViewHierarchyChanged(
const views::ViewHierarchyChangedDetails& details) override;
gfx::NativeView GetNativeView() { return native_view_; }
private:
gfx::NativeView native_view_;
};