Fix compilation under Linux.
This commit is contained in:
parent
297ccbbe58
commit
0c9aea3308
4 changed files with 8 additions and 6 deletions
|
@ -22,7 +22,7 @@ void MenuGtk::Popup(Window* window) {
|
|||
uint32_t triggering_event_time;
|
||||
gfx::Point point;
|
||||
|
||||
BrowserWindow* native_window = window->window();
|
||||
NativeWindow* native_window = window->window();
|
||||
GdkEventButton* event = native_window->GetWebContents()->
|
||||
GetRenderWidgetHostView()->GetLastMouseDown();
|
||||
if (event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue