Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / netinfo / NavigatorNetworkInformation.h
index 5f65526..f543c63 100644 (file)
@@ -14,13 +14,12 @@ class Navigator;
 class NetworkInformation;
 
 class NavigatorNetworkInformation FINAL
-    : public NoBaseWillBeGarbageCollectedFinalized<NavigatorNetworkInformation>
+    : public NoBaseWillBeGarbageCollected<NavigatorNetworkInformation>
     , public WillBeHeapSupplement<Navigator>
     , DOMWindowProperty {
     WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorNetworkInformation);
-
+    DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorNetworkInformation);
 public:
-    virtual ~NavigatorNetworkInformation();
     static NavigatorNetworkInformation& from(Navigator&);
     static NavigatorNetworkInformation* toNavigatorNetworkInformation(Navigator&);
     static const char* supplementName();
@@ -33,7 +32,7 @@ private:
     explicit NavigatorNetworkInformation(Navigator&);
     NetworkInformation* connection();
 
-    RefPtrWillBeMember<NetworkInformation> m_connection;
+    PersistentWillBeMember<NetworkInformation> m_connection;
 };
 
 } // namespace blink