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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHistory.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/InspectorHistory.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHistory.h b/third_party/WebKit/Source/core/inspector/InspectorHistory.h
index ab9a56844a38d8bc50d5a4b6642e33372b2e025f..f60f392ce95ece4dcb37005ca674beb266641525 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHistory.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHistory.h
@@ -40,12 +40,10 @@ namespace blink {
class ExceptionState;
-class InspectorHistory final : public NoBaseWillBeGarbageCollected<InspectorHistory> {
+class InspectorHistory final : public GarbageCollected<InspectorHistory> {
WTF_MAKE_NONCOPYABLE(InspectorHistory);
- USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorHistory);
public:
- class Action : public RefCountedWillBeGarbageCollectedFinalized<Action> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(Action);
+ class Action : public GarbageCollectedFinalized<Action> {
public:
explicit Action(const String& name);
virtual ~Action();
@@ -53,7 +51,7 @@ public:
virtual String toString();
virtual String mergeId();
- virtual void merge(PassRefPtrWillBeRawPtr<Action>);
+ virtual void merge(RawPtr<Action>);
virtual bool perform(ExceptionState&) = 0;
@@ -70,8 +68,8 @@ public:
InspectorHistory();
DECLARE_TRACE();
- bool perform(PassRefPtrWillBeRawPtr<Action>, ExceptionState&);
- void appendPerformedAction(PassRefPtrWillBeRawPtr<Action>);
+ bool perform(RawPtr<Action>, ExceptionState&);
+ void appendPerformedAction(RawPtr<Action>);
void markUndoableState();
bool undo(ExceptionState&);
@@ -79,7 +77,7 @@ public:
void reset();
private:
- WillBeHeapVector<RefPtrWillBeMember<Action>> m_history;
+ HeapVector<Member<Action>> m_history;
size_t m_afterLastActionIndex;
};

Powered by Google App Engine
This is Rietveld 408576698