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

Unified Diff: Source/core/workers/WorkerConsole.h

Issue 206093005: Oilpan: move Console objects to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make ConsoleBase::trace() a pure virtual Created 6 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
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/workers/WorkerConsole.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerConsole.h
diff --git a/Source/core/workers/WorkerConsole.h b/Source/core/workers/WorkerConsole.h
index 8a644c6aff39276c0c157387ac27c0f9ee667157..967c2b40a712aa007533d2e9b40e93803ae74c59 100644
--- a/Source/core/workers/WorkerConsole.h
+++ b/Source/core/workers/WorkerConsole.h
@@ -44,14 +44,11 @@ namespace WebCore {
class ScriptArguments;
-class WorkerConsole FINAL : public RefCountedWillBeRefCountedGarbageCollected<WorkerConsole>, public ConsoleBase, public ScriptWrappable {
+class WorkerConsole FINAL : public ConsoleBase, public ScriptWrappable {
public:
- using RefCountedWillBeRefCountedGarbageCollected<WorkerConsole>::ref;
- using RefCountedWillBeRefCountedGarbageCollected<WorkerConsole>::deref;
-
static PassRefPtrWillBeRawPtr<WorkerConsole> create(WorkerGlobalScope* scope)
{
- return adoptRefWillBeRefCountedGarbageCollected(new WorkerConsole(scope));
+ return adoptRefWillBeNoop(new WorkerConsole(scope));
}
virtual ~WorkerConsole();
@@ -64,9 +61,6 @@ protected:
private:
explicit WorkerConsole(WorkerGlobalScope*);
- virtual void refConsole() OVERRIDE { ref(); }
- virtual void derefConsole() OVERRIDE { deref(); }
-
RawPtrWillBeMember<WorkerGlobalScope> m_scope;
};
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/workers/WorkerConsole.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698