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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2398733004: Do not SendPasswordForms when LocalFrame is being detached (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 91cd54ae1ec8bff1696e166fe3112d5eb6211eea..15ff033ecdc9a6c9ad9efb1ea8bd2d3d83f76112 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2024,6 +2024,12 @@ bool WebLocalFrameImpl::isLoading() const {
!frame()->document()->loadEventFinished();
}
+bool WebLocalFrameImpl::isInStopAllLoaders() const {
+ if (!frame() || !frame()->document())
+ return false;
+ return frame()->loader().isInStopAllLoaders();
+}
+
bool WebLocalFrameImpl::isNavigationScheduledWithin(
double intervalInSeconds) const {
return frame() &&

Powered by Google App Engine
This is Rietveld 408576698