| 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--;
|
| }
|
|
|