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

Unified Diff: public/platform/modules/notifications/WebNotificationManager.h

Issue 1234603003: CallbackPromiseAdapter types should be more compatible with WebCallbacks (1/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: retry! Created 5 years, 4 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: public/platform/modules/notifications/WebNotificationManager.h
diff --git a/public/platform/modules/notifications/WebNotificationManager.h b/public/platform/modules/notifications/WebNotificationManager.h
index ed9ee2964283d2f68d052500db0362803fe2a8ea..ef80d507d2ae60c3927958b6e9235ed092afa5bf 100644
--- a/public/platform/modules/notifications/WebNotificationManager.h
+++ b/public/platform/modules/notifications/WebNotificationManager.h
@@ -6,6 +6,7 @@
#define WebNotificationManager_h
#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
#include "public/platform/modules/notifications/WebNotificationData.h"
@@ -24,7 +25,7 @@ struct WebPersistentNotificationInfo {
WebNotificationData data;
};
-using WebNotificationGetCallbacks = WebCallbacks<WebVector<WebPersistentNotificationInfo>*, void>;
+using WebNotificationGetCallbacks = WebCallbacks<WebPassOwnPtr<WebVector<WebPersistentNotificationInfo>>, void>;
using WebNotificationShowCallbacks = WebCallbacks<void, void>;
// Provides the services to show platform notifications to the user.
« no previous file with comments | « public/platform/modules/bluetooth/WebBluetooth.h ('k') | public/platform/modules/presentation/WebPresentationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698