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

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

Issue 180743028: Oilpan: move Worker objects to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have SharedWorkerRepositoryClient use transition type(s) 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/workers/SharedWorkerRepositoryClient.h ('k') | Source/core/workers/Worker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/Worker.h
diff --git a/Source/core/workers/Worker.h b/Source/core/workers/Worker.h
index 1f1067bdd2663de34797b3c710e1a5cf73a7bad9..8e8771ae70cddf6cb2c505b068f998845219a970 100644
--- a/Source/core/workers/Worker.h
+++ b/Source/core/workers/Worker.h
@@ -34,6 +34,7 @@
#include "core/events/ThreadLocalEventNames.h"
#include "core/workers/AbstractWorker.h"
#include "core/workers/WorkerScriptLoaderClient.h"
+#include "heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -48,7 +49,7 @@ class WorkerScriptLoader;
class Worker FINAL : public AbstractWorker, public ScriptWrappable, private WorkerScriptLoaderClient {
public:
- static PassRefPtr<Worker> create(ExecutionContext*, const String& url, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<Worker> create(ExecutionContext*, const String& url, ExceptionState&);
virtual ~Worker();
virtual const AtomicString& interfaceName() const OVERRIDE;
@@ -62,6 +63,8 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
explicit Worker(ExecutionContext*);
« no previous file with comments | « Source/core/workers/SharedWorkerRepositoryClient.h ('k') | Source/core/workers/Worker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698