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

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, 10 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 4ec2e795490deaabd4881db2ef30d4903bdf4f0b..f782ecbecbc04b760c22bbecd3014902778fe275 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.h
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.h
@@ -48,16 +48,14 @@ class WorkerGlobalScopeProxy;
// 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(WorkerGlobalScopeProxy*);
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

Powered by Google App Engine
This is Rietveld 408576698