Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 151195: Simplifying renderer focus management (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 19803)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -644,10 +644,6 @@
void WebFrameLoaderClient::dispatchWillClose() {
WebViewImpl* webview = webframe_->GetWebViewImpl();
- // Make sure WebViewImpl releases the references it uses to restore focus.
- // If we didn't do this, WebViewImpl might try to restore focus to an invalid
- // element.
- webview->ReleaseFocusReferences();
WebViewDelegate* d = webview->delegate();
if (d)
d->WillCloseFrame(webview, webframe_);
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698