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

Unified Diff: Source/modules/notifications/NotificationCenter.h

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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/NotificationCenter.h
diff --git a/Source/modules/notifications/NotificationCenter.h b/Source/modules/notifications/NotificationCenter.h
index 451a9ddfcdcd14fc9c990347321bdd6e4fdccecc..749217f1185170ba1825c5533bfe17abdc698d1b 100644
--- a/Source/modules/notifications/NotificationCenter.h
+++ b/Source/modules/notifications/NotificationCenter.h
@@ -57,13 +57,13 @@ public:
static PassRefPtr<NotificationCenter> create(ExecutionContext*, NotificationClient*);
#if ENABLE(LEGACY_NOTIFICATIONS)
- PassRefPtr<Notification> createNotification(const String& iconURI, const String& title, const String& body, ExceptionState& es)
+ PassRefPtr<Notification> createNotification(const String& iconURI, const String& title, const String& body, ExceptionState& exceptionState)
{
if (!client()) {
- es.throwUninformativeAndGenericDOMException(InvalidStateError);
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
return 0;
}
- return Notification::create(title, body, iconURI, executionContext(), es, this);
+ return Notification::create(title, body, iconURI, executionContext(), exceptionState, this);
}
#endif
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/serviceworkers/NavigatorServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698