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

Unified Diff: third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.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/ConsoleMessageStorage.h
diff --git a/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.h b/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.h
index 0cb4090e71867082c465c6463e91281abf3ad8f9..5afc8d587a4a1a96f497cbba61cd7debf0793e30 100644
--- a/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.h
+++ b/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.h
@@ -16,16 +16,15 @@ class FrameHost;
class LocalDOMWindow;
class WorkerGlobalScopeProxy;
-class ConsoleMessageStorage final : public NoBaseWillBeGarbageCollected<ConsoleMessageStorage> {
+class ConsoleMessageStorage final : public GarbageCollected<ConsoleMessageStorage> {
WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage);
- USING_FAST_MALLOC_WILL_BE_REMOVED(ConsoleMessageStorage);
public:
- static PassOwnPtrWillBeRawPtr<ConsoleMessageStorage> create()
+ static RawPtr<ConsoleMessageStorage> create()
{
- return adoptPtrWillBeNoop(new ConsoleMessageStorage());
+ return new ConsoleMessageStorage();
}
- void reportMessage(ExecutionContext*, PassRefPtrWillBeRawPtr<ConsoleMessage>);
+ void reportMessage(ExecutionContext*, RawPtr<ConsoleMessage>);
void clear(ExecutionContext*);
CORE_EXPORT Vector<unsigned> argumentCounts() const;
@@ -44,7 +43,7 @@ private:
ConsoleMessageStorage();
int m_expiredCount;
- WillBeHeapDeque<RefPtrWillBeMember<ConsoleMessage>> m_messages;
+ HeapDeque<Member<ConsoleMessage>> m_messages;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698