Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1259)

Unified Diff: Source/core/page/ScopedPageLoadDeferrer.h

Issue 1316663004: [Oilpan] De-oilpanize ScopedPageLoadDeferrer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/page/ScopedPageLoadDeferrer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/ScopedPageLoadDeferrer.h
diff --git a/Source/core/page/ScopedPageLoadDeferrer.h b/Source/core/page/ScopedPageLoadDeferrer.h
index b9ea969a0965fa25c6a0e173684d032e7e21b8ed..249591d16a3dbbf1395d830d5748baf4976d9e10 100644
--- a/Source/core/page/ScopedPageLoadDeferrer.h
+++ b/Source/core/page/ScopedPageLoadDeferrer.h
@@ -30,24 +30,17 @@ namespace blink {
class LocalFrame;
class Page;
-class CORE_EXPORT ScopedPageLoadDeferrer final : public NoBaseWillBeGarbageCollectedFinalized<ScopedPageLoadDeferrer> {
+class CORE_EXPORT ScopedPageLoadDeferrer final {
WTF_MAKE_NONCOPYABLE(ScopedPageLoadDeferrer);
- WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ScopedPageLoadDeferrer);
+ WTF_MAKE_FAST_ALLOCATED(ScopedPageLoadDeferrer);
public:
- ScopedPageLoadDeferrer(Page* exclusion = nullptr);
+ explicit ScopedPageLoadDeferrer(Page* exclusion = nullptr);
~ScopedPageLoadDeferrer();
-#if ENABLE(OILPAN)
- void dispose();
-#endif
-
- DECLARE_TRACE();
-
private:
void detach();
- WillBeHeapVector<RefPtrWillBeMember<LocalFrame>, 16> m_deferredFrames;
- bool m_detached;
+ Vector<RefPtrWillBePersistent<LocalFrame>, 16> m_deferredFrames;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/page/ScopedPageLoadDeferrer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698