| 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 10d870e116bf155873a06e0a9b86d7d5b5e54892..3e14352acfffaa25f2ac25c11def10f9854dbdf9 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--;
|
| }
|
|
|