WebPushSubscription: Include <memory> for std::unique_ptr
IWYU rather than relying on it being included implicitly by other headers. This fixes the libstdc++ build: In file included from ../../third_party/blink/renderer/modules/push_messaging/push_subscription_callbacks.cc:5: In file included from ../../third_party/blink/renderer/modules/push_messaging/push_subscription_callbacks.h:9: ../../third_party/blink/public/platform/modules/push_messaging/web_push_subscription.h:19:23: error: no member named 'unique_ptr' in namespace 'std' WebCallbacks<std::unique_ptr<WebPushSubscription>, const WebPushError&>; ~~~~~^ ../../third_party/blink/public/platform/modules/push_messaging/web_push_subscription.h:19:34: error: 'WebPushSubscription' does not refer to a value WebCallbacks<std::unique_ptr<WebPushSubscription>, const WebPushError&>; ^ ../../third_party/blink/public/platform/modules/push_messaging/web_push_subscription.h:16:8: note: declared here struct WebPushSubscription; ^ Bug: 957519 Change-Id: I0394ebe989e62545f5ca0b440204c66b2292c763 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631411 Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by:Mario Sanchez Prada <mario@igalia.com> Reviewed-by:
Peter Beverloo <peter@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Commit-Queue: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#663845}
Showing
Please register or sign in to comment