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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2196333002: PlzNavigate: Clear provisional history item on redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timing_api
Patch Set: 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/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index d137ce523251890025d573303a5b296e99ae9a28..3ac68f7f61809bb0b94ad6d3e67ae3fd2e07d061 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -157,6 +157,8 @@ public:
void receivedMainResourceRedirect(const KURL& newURL);
+ void discardProvisionalHistoryItem();
+
// This prepares the FrameLoader for the next commit. It will dispatch
// unload events, abort XHR requests and detach the document. Returns true
// if the frame is ready to receive the next commit, or false otherwise.

Powered by Google App Engine
This is Rietveld 408576698