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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectedFrames.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/inspector/InspectedFrames.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectedFrames.h b/third_party/WebKit/Source/core/inspector/InspectedFrames.h
index 9c56e7fbd55273393a2094fe90dbed72af6076d3..634157ba04d34399c46a678ab231986229175d80 100644
--- a/third_party/WebKit/Source/core/inspector/InspectedFrames.h
+++ b/third_party/WebKit/Source/core/inspector/InspectedFrames.h
@@ -14,9 +14,8 @@ namespace blink {
class LocalFrame;
-class CORE_EXPORT InspectedFrames final : public NoBaseWillBeGarbageCollectedFinalized<InspectedFrames> {
+class CORE_EXPORT InspectedFrames final : public GarbageCollectedFinalized<InspectedFrames> {
WTF_MAKE_NONCOPYABLE(InspectedFrames);
- USING_FAST_MALLOC_WILL_BE_REMOVED(InspectedFrames);
public:
class CORE_EXPORT Iterator {
STACK_ALLOCATED();
@@ -30,13 +29,13 @@ public:
private:
friend class InspectedFrames;
Iterator(LocalFrame* root, LocalFrame* current);
- RawPtrWillBeMember<LocalFrame> m_root;
- RawPtrWillBeMember<LocalFrame> m_current;
+ Member<LocalFrame> m_root;
+ Member<LocalFrame> m_current;
};
- static PassOwnPtrWillBeRawPtr<InspectedFrames> create(LocalFrame* root)
+ static RawPtr<InspectedFrames> create(LocalFrame* root)
{
- return adoptPtrWillBeNoop(new InspectedFrames(root));
+ return new InspectedFrames(root);
}
LocalFrame* root() { return m_root; }
@@ -50,7 +49,7 @@ public:
private:
explicit InspectedFrames(LocalFrame*);
- RawPtrWillBeMember<LocalFrame> m_root;
+ Member<LocalFrame> m_root;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698