Index: third_party/WebKit/Source/modules/netinfo/NetworkInformation.h |
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h |
index 0090c5eb1bd70d773a27e4b405225b9fc9dedbd7..7a26b466289134d281b6dfed748b8014d68f621b 100644 |
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h |
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h |
@@ -5,6 +5,7 @@ |
#ifndef NetworkInformation_h |
#define NetworkInformation_h |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
#include "core/page/NetworkStateNotifier.h" |
@@ -17,7 +18,8 @@ class ExecutionContext; |
class NetworkInformation final |
: public RefCountedGarbageCollectedEventTargetWithInlineData<NetworkInformation> |
, public ActiveDOMObject |
- , public NetworkStateNotifier::NetworkStateObserver { |
+ , public NetworkStateNotifier::NetworkStateObserver |
+ , public V8GCRoot { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(NetworkInformation); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NetworkInformation); |
DEFINE_WRAPPERTYPEINFO(); |