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

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

Issue 2702213004: Add security checks to scheduled actions (Closed)
Patch Set: updates Created 3 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/bindings/core/v8/ScheduledAction.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.h b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.h
index b65d36ee1eaaa025bef2573d7383b1af7c38aa60..a24629292919672eb53c5f71f22dd534c8662161 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.h
@@ -51,9 +51,12 @@ class ScheduledAction final
public:
static ScheduledAction* create(ScriptState*,
+ ExecutionContext* target,
const ScriptValue& handler,
const Vector<ScriptValue>& arguments);
- static ScheduledAction* create(ScriptState*, const String& handler);
+ static ScheduledAction* create(ScriptState*,
+ ExecutionContext* target,
+ const String& handler);
~ScheduledAction();
void dispose();
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698