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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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: Source/modules/notifications/NotificationCenter.h
diff --git a/Source/modules/notifications/NotificationCenter.h b/Source/modules/notifications/NotificationCenter.h
index 998b80da01eb71e45ebaa1e2e39b2ec4084f7f62..736b788496a3b47eda0e813c073763a868d6a63a 100644
--- a/Source/modules/notifications/NotificationCenter.h
+++ b/Source/modules/notifications/NotificationCenter.h
@@ -63,7 +63,7 @@ public:
{
if (!client()) {
exceptionState.throwDOMException(InvalidStateError, "The notification client is null.");
- return 0;
+ return nullptr;
}
return WebKitNotification::create(title, body, iconUrl, executionContext(), exceptionState, this);
}
« no previous file with comments | « Source/modules/notifications/DOMWindowNotifications.cpp ('k') | Source/modules/serviceworkers/WaitUntilObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698