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

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

Issue 2621193004: Allow navigations to frames that aren't being unloaded in the unload handler. (Closed)
Patch Set: Created 3 years, 11 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/NavigationScheduler.h
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.h b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
index b6ac577ef29e1910bd273b513f874287048c0a8a..38c930a7b923da8027c74e5b06021bed80d236c9 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
@@ -96,13 +96,13 @@ class CORE_EXPORT NavigationScheduler final
WebScheduler::NavigatingFrameType m_frameType;
};
-class NavigationDisablerForUnload {
- WTF_MAKE_NONCOPYABLE(NavigationDisablerForUnload);
+class NavigationDisablerForBeforeUnload {
+ WTF_MAKE_NONCOPYABLE(NavigationDisablerForBeforeUnload);
STACK_ALLOCATED();
public:
- NavigationDisablerForUnload() { s_navigationDisableCount++; }
- ~NavigationDisablerForUnload() {
+ NavigationDisablerForBeforeUnload() { s_navigationDisableCount++; }
+ ~NavigationDisablerForBeforeUnload() {
DCHECK(s_navigationDisableCount);
s_navigationDisableCount--;
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698