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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.h

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (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
Index: third_party/WebKit/Source/core/loader/NavigationScheduler.h
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.h b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
index 01d0fddb158d52469c82dc3d87f456497e80482e..fce30b18dc008ea85c0f7bf06cbea3377334cf06 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
@@ -49,13 +49,12 @@ class FormSubmission;
class LocalFrame;
class ScheduledNavigation;
-class CORE_EXPORT NavigationScheduler final : public NoBaseWillBeGarbageCollectedFinalized<NavigationScheduler> {
+class CORE_EXPORT NavigationScheduler final : public GarbageCollectedFinalized<NavigationScheduler> {
WTF_MAKE_NONCOPYABLE(NavigationScheduler);
- USING_FAST_MALLOC_WILL_BE_REMOVED(NavigationScheduler);
public:
- static PassOwnPtrWillBeRawPtr<NavigationScheduler> create(LocalFrame* frame)
+ static RawPtr<NavigationScheduler> create(LocalFrame* frame)
{
- return adoptPtrWillBeNoop(new NavigationScheduler(frame));
+ return new NavigationScheduler(frame);
}
~NavigationScheduler();
@@ -66,7 +65,7 @@ public:
void scheduleRedirect(double delay, const String& url);
void scheduleLocationChange(Document*, const String& url, bool replacesCurrentItem = true);
void schedulePageBlock(Document*);
- void scheduleFormSubmission(Document*, PassRefPtrWillBeRawPtr<FormSubmission>);
+ void scheduleFormSubmission(Document*, RawPtr<FormSubmission>);
void scheduleReload();
void startTimer();
@@ -81,13 +80,13 @@ private:
bool shouldScheduleNavigation(const String& url) const;
void navigateTask();
- void schedule(PassOwnPtrWillBeRawPtr<ScheduledNavigation>);
+ void schedule(RawPtr<ScheduledNavigation>);
static bool mustReplaceCurrentItem(LocalFrame* targetFrame);
- RawPtrWillBeMember<LocalFrame> m_frame;
+ Member<LocalFrame> m_frame;
OwnPtr<CancellableTaskFactory> m_navigateTaskFactory;
- OwnPtrWillBeMember<ScheduledNavigation> m_redirect;
+ Member<ScheduledNavigation> m_redirect;
};
class NavigationDisablerForBeforeUnload {

Powered by Google App Engine
This is Rietveld 408576698