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

Unified Diff: third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h

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
Index: third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
diff --git a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
index 8db55f9e4f450e0a44ace99e665b489d81435cc2..a4089fc0f0731b76c269c37971a47c4a1a8fc8e8 100644
--- a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
+++ b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h
@@ -96,12 +96,12 @@ enum AutoplayMetrics {
};
class CORE_EXPORT AutoplayExperimentHelper final :
- public NoBaseWillBeGarbageCollectedFinalized<AutoplayExperimentHelper> {
+ public GarbageCollectedFinalized<AutoplayExperimentHelper> {
friend class AutoplayExperimentTest;
public:
// For easier testing, collect all the things we care about here.
- class Client : public NoBaseWillBeGarbageCollectedFinalized<Client> {
+ class Client : public GarbageCollectedFinalized<Client> {
public:
virtual ~Client() {}
@@ -131,9 +131,9 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
- static PassOwnPtrWillBeRawPtr<AutoplayExperimentHelper> create(Client* client)
+ static RawPtr<AutoplayExperimentHelper> create(Client* client)
{
- return adoptPtrWillBeNoop(new AutoplayExperimentHelper(client));
+ return new AutoplayExperimentHelper(client);
}
~AutoplayExperimentHelper();
@@ -250,7 +250,7 @@ private:
// (as in, "The user really didn't want to play this").
bool isBailout() const;
- RawPtrWillBeMember<Client> m_client;
+ Member<Client> m_client;
Mode m_mode;

Powered by Google App Engine
This is Rietveld 408576698