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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/PageAnimator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 20c93d4771a90ff3b8a7f332217acb92c16d145b..d303c21ce78a3f7f4e8e21ffc17b5dcf8abc4f5d 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -72,7 +72,7 @@ Page::PageSet& Page::ordinaryPages()
void Page::networkStateChanged(bool online)
{
- WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames;
+ HeapVector<Member<LocalFrame>> frames;
// Get all the frames of all the pages in all the page groups
for (Page* page : allPages()) {
@@ -106,9 +106,9 @@ float deviceScaleFactor(LocalFrame* frame)
return page->deviceScaleFactor();
}
-PassOwnPtrWillBeRawPtr<Page> Page::createOrdinary(PageClients& pageClients)
+RawPtr<Page> Page::createOrdinary(PageClients& pageClients)
{
- OwnPtrWillBeRawPtr<Page> page = create(pageClients);
+ RawPtr<Page> page = create(pageClients);
ordinaryPages().add(page.get());
page->memoryPurgeController().registerClient(page.get());
return page.release();
@@ -283,7 +283,7 @@ void Page::unmarkAllTextMatches()
} while (frame);
}
-void Page::setValidationMessageClient(PassOwnPtrWillBeRawPtr<ValidationMessageClient> client)
+void Page::setValidationMessageClient(RawPtr<ValidationMessageClient> client)
{
m_validationMessageClient = client;
}
@@ -505,7 +505,7 @@ void Page::didCommitLoad(LocalFrame* frame)
void Page::acceptLanguagesChanged()
{
- WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> frames;
+ HeapVector<Member<LocalFrame>> frames;
// Even though we don't fire an event from here, the LocalDOMWindow's will fire
// an event so we keep the frames alive until we are done.
@@ -567,7 +567,7 @@ void Page::willBeClosed()
void Page::willBeDestroyed()
{
- RefPtrWillBeRawPtr<Frame> mainFrame = m_mainFrame;
+ RawPtr<Frame> mainFrame = m_mainFrame;
mainFrame->detach(FrameDetachType::Remove);
@@ -610,6 +610,6 @@ Page::PageClients::~PageClients()
{
}
-template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
+template class CORE_TEMPLATE_EXPORT HeapSupplement<Page>;
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/PageAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698