Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index 6cfb39d7ab9b68c61ccfe700216627a9f822023a..589ffd92112feeea173f692374e1d2dcbdec48aa 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -982,6 +982,13 @@ void WebFrameImpl::stopLoading() |
frame()->loader()->stopAllLoaders(); |
} |
+bool WebFrameImpl::hasCommittedRealDocument() const |
+{ |
+ if (!frame()) |
+ return false; |
+ return frame()->loader()->stateMachine()->committedFirstRealDocumentLoad(); |
+} |
+ |
WebDataSource* WebFrameImpl::provisionalDataSource() const |
{ |
ASSERT(frame()); |