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

Unified Diff: third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements with ContextClient (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h
diff --git a/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h b/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h
index 55ca99db0c83c9924b2392ad3792267fa5bafe73..c4f16e1176a17af1d22d30ff7753ba437daa16b3 100644
--- a/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h
+++ b/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.h
@@ -5,7 +5,7 @@
#ifndef NavigatorNetworkInformation_h
#define NavigatorNetworkInformation_h
-#include "core/frame/DOMWindowProperty.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "platform/Supplementable.h"
namespace blink {
@@ -16,7 +16,7 @@ class NetworkInformation;
class NavigatorNetworkInformation final
: public GarbageCollected<NavigatorNetworkInformation>,
public Supplement<Navigator>,
- public DOMWindowProperty {
+ public ContextClient {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorNetworkInformation);
public:

Powered by Google App Engine
This is Rietveld 408576698