Fix compilation under Linux.

This commit is contained in:
Cheng Zhao 2014-04-23 12:45:48 +08:00
parent 297ccbbe58
commit 0c9aea3308
4 changed files with 8 additions and 6 deletions

View file

@ -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) {