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

Unified Diff: public/platform/modules/app_banner/WebAppBannerClient.h

Issue 1240763002: CallbackPromiseAdapter types should be more compatible with WebCallbacks (3/3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: public/platform/modules/app_banner/WebAppBannerClient.h
diff --git a/public/platform/modules/app_banner/WebAppBannerClient.h b/public/platform/modules/app_banner/WebAppBannerClient.h
index 5a87fed13615042950056a818e6e19126d80060f..241c07b370446dd11fa1f3e76eb840501f88e829 100644
--- a/public/platform/modules/app_banner/WebAppBannerClient.h
+++ b/public/platform/modules/app_banner/WebAppBannerClient.h
@@ -6,12 +6,11 @@
#define WebAppBannerClient_h
#include "public/platform/WebCallbacks.h"
-#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/modules/app_banner/WebAppBannerPromptResult.h"
namespace blink {
-using WebAppBannerCallbacks = WebCallbacks<WebPassOwnPtr<WebAppBannerPromptResult>, void>;
+using WebAppBannerCallbacks = WebCallbacks<const WebAppBannerPromptResult&, void>;
class WebAppBannerClient {
public:

Powered by Google App Engine
This is Rietveld 408576698