| 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..50d387e96d497b0987a5fca9c58b849bb8d7dfdd 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 void deferIfNeeded(Page*);
|
| };
|
|
|
| } // namespace blink
|
|
|