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

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

Issue 2103733004: Set navigationStart correctly for all load types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 5 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 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())

Powered by Google App Engine
This is Rietveld 408576698