| Index: Source/modules/beacon/NavigatorBeacon.h
|
| diff --git a/Source/modules/beacon/NavigatorBeacon.h b/Source/modules/beacon/NavigatorBeacon.h
|
| index 989f35497b10f067f92c73fd0df8ff5fe46492c0..5f11250d3ac6e6bb82eef049c0ab8f4e3e0807a0 100644
|
| --- a/Source/modules/beacon/NavigatorBeacon.h
|
| +++ b/Source/modules/beacon/NavigatorBeacon.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef NavigatorBeacon_h
|
| #define NavigatorBeacon_h
|
|
|
| +#include "core/frame/LocalFrameLifecycleObserver.h"
|
| #include "core/frame/Navigator.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -17,10 +18,11 @@ class ExecutionContext;
|
| class KURL;
|
| class ArrayBufferViewOrBlobOrStringOrFormData;
|
|
|
| -class NavigatorBeacon final : public NoBaseWillBeGarbageCollected<NavigatorBeacon>, public WillBeHeapSupplement<Navigator> {
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorBeacon);
|
| +class NavigatorBeacon final : public GarbageCollectedFinalized<NavigatorBeacon>, public LocalFrameLifecycleObserver, public HeapSupplement<Navigator> {
|
| + USING_GARBAGE_COLLECTED_MIXIN(NavigatorBeacon);
|
| public:
|
| static NavigatorBeacon& from(Navigator&);
|
| + virtual ~NavigatorBeacon();
|
|
|
| static bool sendBeacon(ExecutionContext*, Navigator&, const String&, const ArrayBufferViewOrBlobOrStringOrFormData&, ExceptionState&);
|
|
|
| @@ -36,7 +38,6 @@ private:
|
| bool beaconResult(ExecutionContext*, bool allowed, int sentBytes);
|
|
|
| int m_transmittedBytes;
|
| - Navigator& m_navigator;
|
| };
|
|
|
| } // namespace blink
|
|
|