| Index: third_party/WebKit/Source/core/page/ScopedPageSuspender.h
|
| diff --git a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
|
| similarity index 77%
|
| rename from third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| rename to third_party/WebKit/Source/core/page/ScopedPageSuspender.h
|
| index 6cd1b1f8f9f75f2a3707b96cae6a65729ebcc655..f24f38afc851955da161b7a159171ba6d3430e27 100644
|
| --- a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| +++ b/third_party/WebKit/Source/core/page/ScopedPageSuspender.h
|
| @@ -17,8 +17,8 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| -#ifndef ScopedPageLoadDeferrer_h
|
| -#define ScopedPageLoadDeferrer_h
|
| +#ifndef ScopedPageSuspender_h
|
| +#define ScopedPageSuspender_h
|
|
|
| #include "core/CoreExport.h"
|
| #include "wtf/Allocator.h"
|
| @@ -28,17 +28,17 @@ namespace blink {
|
|
|
| class Page;
|
|
|
| -class CORE_EXPORT ScopedPageLoadDeferrer final {
|
| - WTF_MAKE_NONCOPYABLE(ScopedPageLoadDeferrer);
|
| - USING_FAST_MALLOC(ScopedPageLoadDeferrer);
|
| +class CORE_EXPORT ScopedPageSuspender final {
|
| + WTF_MAKE_NONCOPYABLE(ScopedPageSuspender);
|
| + USING_FAST_MALLOC(ScopedPageSuspender);
|
|
|
| public:
|
| - explicit ScopedPageLoadDeferrer();
|
| - ~ScopedPageLoadDeferrer();
|
| + explicit ScopedPageSuspender();
|
| + ~ScopedPageSuspender();
|
|
|
| static bool isActive();
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // ScopedPageLoadDeferrer_h
|
| +#endif // ScopedPageSuspender_h
|
|
|