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

Unified Diff: third_party/WebKit/Source/modules/notifications/Notification.h

Issue 2697723003: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Window.{focus|close} both take ExecutionContext. Created 3 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
Index: third_party/WebKit/Source/modules/notifications/Notification.h
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.h b/third_party/WebKit/Source/modules/notifications/Notification.h
index aa588607d5d0aef76c04cd82af99c054b725e9fb..a0d5065910d16bf1b6f9cde3dd3e306602ff3b25 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.h
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h
@@ -113,7 +113,7 @@ class MODULES_EXPORT Notification final
Vector<v8::Local<v8::Value>> actions(ScriptState*) const;
static String permissionString(mojom::blink::PermissionStatus);
- static String permission(ExecutionContext*);
+ static String permission(ScriptState*);
static ScriptPromise requestPermission(ScriptState*,
NotificationPermissionCallback*);
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/File.cpp ('k') | third_party/WebKit/Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698