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 cc8f867ad94fd39fdb94fce9121e9db99c814a7e..28b6a5885b816cc06ff772f9fd1d721145b0a030 100644 |
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h |
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h |
@@ -109,15 +109,15 @@ private: |
static unsigned s_navigationDisableCount; |
}; |
-class CORE_EXPORT NavigationCounterForUnload { |
- WTF_MAKE_NONCOPYABLE(NavigationCounterForUnload); |
+class CORE_EXPORT NavigationDisablerForUnload { |
dcheng
2016/08/16 22:32:03
Can we just use NavigationDisablerForBeforeUnload,
|
+ WTF_MAKE_NONCOPYABLE(NavigationDisablerForUnload); |
STACK_ALLOCATED(); |
public: |
- NavigationCounterForUnload() |
+ NavigationDisablerForUnload() |
{ |
s_inUnloadHandler++; |
} |
- ~NavigationCounterForUnload() |
+ ~NavigationDisablerForUnload() |
{ |
DCHECK(s_inUnloadHandler); |
s_inUnloadHandler--; |