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

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

Issue 1063513007: Oilpan: have Console be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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: Source/core/workers/WorkerConsole.h
diff --git a/Source/core/workers/WorkerConsole.h b/Source/core/workers/WorkerConsole.h
index 2e9b1e64483ceb6eca4c7404c3d3f64a0f44c83f..ef1b8870c77eb3456c8fea04c5f451aefdb52e2f 100644
--- a/Source/core/workers/WorkerConsole.h
+++ b/Source/core/workers/WorkerConsole.h
@@ -47,9 +47,9 @@ class WorkerGlobalScope;
class WorkerConsole final : public ConsoleBase {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<WorkerConsole> create(WorkerGlobalScope* scope)
+ static WorkerConsole* create(WorkerGlobalScope* scope)
{
- return adoptRefWillBeNoop(new WorkerConsole(scope));
+ return new WorkerConsole(scope);
}
virtual ~WorkerConsole();

Powered by Google App Engine
This is Rietveld 408576698