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

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..7d17de9724a61010fbb45929e2ba081330d2b288 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*,
Yuki 2017/02/21 13:17:57 I'd like to have |target| as the argument name so
jochen (gone - plz use gerrit) 2017/02/21 13:19:18 done
const ScriptValue& handler,
const Vector<ScriptValue>& arguments);
- static ScheduledAction* create(ScriptState*, const String& handler);
+ static ScheduledAction* create(ScriptState*,
+ ExecutionContext*,
+ const String& handler);
~ScheduledAction();
void dispose();

Powered by Google App Engine
This is Rietveld 408576698