| Index: third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| diff --git a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h b/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| index f0c66475873ca82e20b638793e13265582196fb0..4a8ab98e2d35648121b925f3791ca61b7b5618c5 100644
|
| --- a/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| +++ b/third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h
|
| @@ -21,26 +21,21 @@
|
| #define ScopedPageLoadDeferrer_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "platform/heap/Handle.h"
|
| -#include "wtf/RefPtr.h"
|
| -#include "wtf/Vector.h"
|
| +#include "wtf/Allocator.h"
|
| +#include "wtf/Noncopyable.h"
|
|
|
| namespace blink {
|
|
|
| -class LocalFrame;
|
| class Page;
|
|
|
| class CORE_EXPORT ScopedPageLoadDeferrer final {
|
| WTF_MAKE_NONCOPYABLE(ScopedPageLoadDeferrer);
|
| USING_FAST_MALLOC(ScopedPageLoadDeferrer);
|
| public:
|
| - explicit ScopedPageLoadDeferrer(Page* exclusion = nullptr);
|
| + explicit ScopedPageLoadDeferrer();
|
| ~ScopedPageLoadDeferrer();
|
|
|
| -private:
|
| - void setDefersLoading(bool);
|
| -
|
| - Vector<Persistent<Page>, 16> m_deferredPages;
|
| + static bool isActive();
|
| };
|
|
|
| } // namespace blink
|
|
|