diff options
Diffstat (limited to 'WebCore/page/DOMWindow.cpp')
-rw-r--r-- | WebCore/page/DOMWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/page/DOMWindow.cpp b/WebCore/page/DOMWindow.cpp index 40b7494..d234973 100644 --- a/WebCore/page/DOMWindow.cpp +++ b/WebCore/page/DOMWindow.cpp @@ -763,7 +763,11 @@ void DOMWindow::focus() // If we're a top level window, bring the window to the front. if (m_frame == page->mainFrame()) +#ifdef ANDROID_USER_GESTURE + page->chrome()->focus(m_frame->loader()->isProcessingUserGesture()); +#else page->chrome()->focus(); +#endif if (!m_frame) return; |