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 a4a1f40ae74a06ee76a801ba677fb99cd0f60cd0..44c2e12cbc4f55705fdcfc362091528d06766cec 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1919,6 +1919,11 @@ void WebLocalFrameImpl::setCommittedFirstRealLoad() |
ensureFrameLoaderHasCommitted(frame()->loader()); |
} |
+bool WebLocalFrameImpl::hasAccessedInitialDocument() const |
+{ |
+ return frame() && frame()->loader().hasAccessedInitialDocument(); |
+} |
+ |
void WebLocalFrameImpl::sendOrientationChangeEvent() |
{ |
if (!frame()) |