Index: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h |
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h |
index 20aa454aff0e34d66ad5479f64c958254ea1eb6a..750dba2f6062f53d6231b0d16c11ece30cd8aaa1 100644 |
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h |
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h |
@@ -55,9 +55,10 @@ class WebNotificationManager { |
// Worker Registration. If |filterTag| is not an empty string, only the |
// notification with the given tag will be considered. Will take ownership of |
// the WebNotificationGetCallbacks object. |
- virtual void getNotifications(const WebString& filterTag, |
- WebServiceWorkerRegistration*, |
- WebNotificationGetCallbacks*) = 0; |
+ virtual void getNotifications( |
+ const WebString& filterTag, |
+ WebServiceWorkerRegistration*, |
+ std::unique_ptr<WebNotificationGetCallbacks>) = 0; |
// Closes a notification previously shown, and removes it if being shown. |
virtual void close(WebNotificationDelegate*) = 0; |