Changeset 141731 in webkit
- Timestamp:
- Feb 3, 2013 8:04:12 PM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r141712 r141731 1 2013-02-03 David Dorwin <ddorwin@chromium.org> 2 3 [chromium] Do not call m_widgetClient->show() for WebHelperPlugin. 4 https://bugs.webkit.org/show_bug.cgi?id=108740 5 6 Reviewed by Kent Tamura. 7 8 The calls to m_widgetClient->show() and setFocus() do not appear to be 9 necessary, and the former causes problems on at least on platform. 10 11 * src/WebHelperPluginImpl.cpp: 12 (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClient->show() and setFocus(). 13 (WebKit::WebHelperPluginImpl::setFocus): Should never be called. 14 1 15 2013-02-02 Michael Nordman <michaeln@google.com> 2 16 -
trunk/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
r136921 r141731 121 121 m_webView = webView; 122 122 123 if (!initializePage(webView, pluginType)) 124 return false; 125 m_widgetClient->show(WebNavigationPolicy()); 126 setFocus(true); 127 128 return true; 123 return initializePage(webView, pluginType); 129 124 } 130 125 … … 234 229 } 235 230 236 void WebHelperPluginImpl::setFocus(bool enable) 237 { 238 if (!m_page) 239 return; 240 m_page->focusController()->setFocused(enable); 241 if (enable) 242 m_page->focusController()->setActive(true); 231 void WebHelperPluginImpl::setFocus(bool) 232 { 233 ASSERT_NOT_REACHED(); 243 234 } 244 235
Note: See TracChangeset
for help on using the changeset viewer.