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

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.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/FrameConsole.h
diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.h b/third_party/WebKit/Source/core/frame/FrameConsole.h
index 6b524e6169caea76f90b33b5e82643285770e50a..19e52b7e537334ceaf6f1a77ad5b27672fc512aa 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.h
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.h
@@ -48,16 +48,14 @@ class WorkerInspectorProxy;
// FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector.
// It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console.
-class CORE_EXPORT FrameConsole final : public NoBaseWillBeGarbageCollected<FrameConsole> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(FrameConsole);
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole);
+class CORE_EXPORT FrameConsole final : public GarbageCollected<FrameConsole> {
public:
- static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame)
+ static RawPtr<FrameConsole> create(LocalFrame& frame)
{
- return adoptPtrWillBeNoop(new FrameConsole(frame));
+ return new FrameConsole(frame);
}
- void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>);
+ void addMessage(RawPtr<ConsoleMessage>);
void adoptWorkerMessagesAfterTermination(WorkerInspectorProxy*);
void reportResourceResponseReceived(DocumentLoader*, unsigned long requestIdentifier, const ResourceResponse&);
@@ -82,7 +80,7 @@ private:
ConsoleMessageStorage* messageStorage();
- RawPtrWillBeMember<LocalFrame> m_frame;
+ Member<LocalFrame> m_frame;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameClient.h ('k') | third_party/WebKit/Source/core/frame/FrameConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698