Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 90a5b77ffb06442e32cab1924f1d416fcab4f2ca..15f0799bdd6337f05ac7d1a844955c360bb3b745 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -2116,6 +2116,11 @@ bool WebLocalFrameImpl::isResourceLoadInProgress() const |
return frame()->document()->fetcher()->requestCount(); |
} |
+bool WebLocalFrameImpl::isNavigationScheduled() const |
+{ |
+ return frame() && frame()->navigationScheduler().isNavigationScheduled(); |
+} |
+ |
void WebLocalFrameImpl::setCommittedFirstRealLoad() |
{ |
ASSERT(frame()); |