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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 months 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/NetworkInformation.cpp
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
index 0e661db47e66c2655987ecc8db8b6cba85ad9654..25f4b4ea54f2819a15048cac3415d3f2160ef7a7 100644
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
@@ -159,7 +159,8 @@ void NetworkInformation::stopObserving()
}
NetworkInformation::NetworkInformation(ExecutionContext* context)
- : ActiveDOMObject(context)
+ : ActiveScriptWrappable(this)
+ , ActiveDOMObject(context)
, m_type(networkStateNotifier().connectionType())
, m_downlinkMaxMbps(networkStateNotifier().maxBandwidth())
, m_observing(false)

Powered by Google App Engine
This is Rietveld 408576698