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

Unified Diff: third_party/WebKit/Source/core/frame/TopControls.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/frame/TopControls.h
diff --git a/third_party/WebKit/Source/core/frame/TopControls.h b/third_party/WebKit/Source/core/frame/TopControls.h
index 57039a2cfe04c25435d94feb9a8d028e1bb4e863..72365852e29f010b1d070ba4d01c3371aa78e0c6 100644
--- a/third_party/WebKit/Source/core/frame/TopControls.h
+++ b/third_party/WebKit/Source/core/frame/TopControls.h
@@ -19,12 +19,11 @@ class FloatSize;
// duplicating cc::TopControlsManager behaviour. Top controls' self-animation
// to completion is still handled by compositor and kicks in when scrolling is
// complete (i.e, upon ScrollEnd or FlingEnd).
-class CORE_EXPORT TopControls final : public NoBaseWillBeGarbageCollectedFinalized<TopControls> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(TopControls);
+class CORE_EXPORT TopControls final : public GarbageCollectedFinalized<TopControls> {
public:
- static PassOwnPtrWillBeRawPtr<TopControls> create(const FrameHost& host)
+ static RawPtr<TopControls> create(const FrameHost& host)
{
- return adoptPtrWillBeNoop(new TopControls(host));
+ return new TopControls(host);
}
~TopControls();
@@ -55,7 +54,7 @@ private:
explicit TopControls(const FrameHost&);
void resetBaseline();
- RawPtrWillBeMember<const FrameHost> m_frameHost;
+ Member<const FrameHost> m_frameHost;
// The top controls height regardless of whether it is visible or not.
float m_height;

Powered by Google App Engine
This is Rietveld 408576698