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

Unified Diff: Source/bindings/core/v8/ScheduledAction.h

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 years, 11 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/bindings/core/v8/PageScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScheduledAction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScheduledAction.h
diff --git a/Source/bindings/core/v8/ScheduledAction.h b/Source/bindings/core/v8/ScheduledAction.h
index fa80f04fd2ff9d13f7abe5f4b54c8b32d0c7b13e..481d9640588306839097e160e35932cdc2abe225 100644
--- a/Source/bindings/core/v8/ScheduledAction.h
+++ b/Source/bindings/core/v8/ScheduledAction.h
@@ -35,6 +35,7 @@
#include "bindings/core/v8/ScriptSourceCode.h"
#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/V8PersistentValueVector.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include <v8.h>
@@ -44,13 +45,14 @@ class LocalFrame;
class ExecutionContext;
class WorkerGlobalScope;
-class ScheduledAction {
+class ScheduledAction final : public NoBaseWillBeGarbageCollectedFinalized<ScheduledAction> {
WTF_MAKE_NONCOPYABLE(ScheduledAction);
public:
- static PassOwnPtr<ScheduledAction> create(ScriptState*, const ScriptValue& handler, const Vector<ScriptValue>& arguments);
- static PassOwnPtr<ScheduledAction> create(ScriptState*, const String& handler);
+ static PassOwnPtrWillBeRawPtr<ScheduledAction> create(ScriptState*, const ScriptValue& handler, const Vector<ScriptValue>& arguments);
+ static PassOwnPtrWillBeRawPtr<ScheduledAction> create(ScriptState*, const String& handler);
~ScheduledAction();
+ void trace(Visitor*);
void execute(ExecutionContext*);
« no previous file with comments | « Source/bindings/core/v8/PageScriptDebugServer.cpp ('k') | Source/bindings/core/v8/ScheduledAction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698