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

Unified Diff: Source/modules/notifications/Notification.cpp

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work around MSVC optimization bug Created 5 years, 5 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: Source/modules/notifications/Notification.cpp
diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp
index 72638ba4ea829c4cdff4694510ce411116331894..1e30c15b6892c1bbb7ce60820bc7bc6102a81baf 100644
--- a/Source/modules/notifications/Notification.cpp
+++ b/Source/modules/notifications/Notification.cpp
@@ -294,10 +294,10 @@ void Notification::requestPermission(ExecutionContext* context, NotificationPerm
permissionClient->requestPermission(context, callback);
}
-bool Notification::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
+bool Notification::dispatchEventInternal(PassRefPtrWillBeRawPtr<Event> event)
{
ASSERT(executionContext()->isContextThread());
- return EventTarget::dispatchEvent(event);
+ return EventTarget::dispatchEventInternal(event);
}
const AtomicString& Notification::interfaceName() const

Powered by Google App Engine
This is Rietveld 408576698