Skip to content

Commit 7c07012

Browse files
committed
patch for GetFullscreenRenderWidgetHostView removal
1 parent 522b544 commit 7c07012

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/api/menu/menu_views.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,7 @@ aura::Window* Menu::GetActiveNativeView(content::RenderFrameHost* rfh) {
206206
LOG(ERROR) << "Menu: couldn't find WebContents";
207207
return NULL;
208208
}
209-
return web_contents->GetFullscreenRenderWidgetHostView()
210-
? web_contents->GetFullscreenRenderWidgetHostView()
211-
->GetNativeView()
212-
: web_contents->GetNativeView();
209+
return web_contents->GetNativeView();
213210
}
214211

215212
} // namespace nw

0 commit comments

Comments
 (0)