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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.cpp
index a719286450ca998ecd6abe703a8b4ddcc8682adc..378ad51c24f0e57d9f8fd176dcac89e5c6ed2688 100644
--- a/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/NavigatorNetworkInformation.cpp
@@ -12,7 +12,7 @@
namespace blink {
NavigatorNetworkInformation::NavigatorNetworkInformation(Navigator& navigator)
- : DOMWindowProperty(navigator.frame()) {}
+ : ContextClient(navigator.frame()) {}
NavigatorNetworkInformation& NavigatorNetworkInformation::from(
Navigator& navigator) {
@@ -53,7 +53,7 @@ NetworkInformation* NavigatorNetworkInformation::connection() {
DEFINE_TRACE(NavigatorNetworkInformation) {
visitor->trace(m_connection);
Supplement<Navigator>::trace(visitor);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698