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

Unified Diff: webkit/glue/webframe_impl.cc

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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.h ('k') | webkit/glue/webframeloaderclient_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframe_impl.cc
===================================================================
--- webkit/glue/webframe_impl.cc (revision 5111)
+++ webkit/glue/webframe_impl.cc (working copy)
@@ -1845,14 +1845,6 @@
return true;
}
-bool WebFrameImpl::HasUnloadListener() {
- if (frame() && frame()->document()) {
- Document* doc = frame()->document();
- return doc->hasUnloadEventListener();
- }
- return false;
-}
-
bool WebFrameImpl::IsReloadAllowingStaleData() const {
FrameLoader* loader = frame() ? frame()->loader() : NULL;
if (loader) {
« no previous file with comments | « webkit/glue/webframe_impl.h ('k') | webkit/glue/webframeloaderclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698