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

Unified Diff: third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.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/FrameViewAutoSizeInfo.h
diff --git a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.h b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.h
index bd63596f36915637e80824c969d4dc09bc172830..efe9e11a245bac191520a13cd2c9860ac61f3e9e 100644
--- a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.h
+++ b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.h
@@ -15,14 +15,12 @@ namespace blink {
class FrameView;
-class FrameViewAutoSizeInfo final : public NoBaseWillBeGarbageCollected<FrameViewAutoSizeInfo> {
+class FrameViewAutoSizeInfo final : public GarbageCollected<FrameViewAutoSizeInfo> {
WTF_MAKE_NONCOPYABLE(FrameViewAutoSizeInfo);
- USING_FAST_MALLOC_WILL_BE_REMOVED(FrameViewAutoSizeInfo);
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameViewAutoSizeInfo);
public:
- static PassOwnPtrWillBeRawPtr<FrameViewAutoSizeInfo> create(FrameView* frameView)
+ static RawPtr<FrameViewAutoSizeInfo> create(FrameView* frameView)
{
- return adoptPtrWillBeNoop(new FrameViewAutoSizeInfo(frameView));
+ return new FrameViewAutoSizeInfo(frameView);
}
void configureAutoSizeMode(const IntSize& minSize, const IntSize& maxSize);
@@ -33,7 +31,7 @@ public:
private:
explicit FrameViewAutoSizeInfo(FrameView*);
- RawPtrWillBeMember<FrameView> m_frameView;
+ Member<FrameView> m_frameView;
// The lower bound on the size when autosizing.
IntSize m_minAutoSize;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698