| 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 7ff297e91e19349b2f612456d16823f35576fac3..c62d1dab6fd6b76c95e3597d74ac26d19986526e 100644
|
| --- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| +++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
|
| @@ -130,7 +130,7 @@ void NetworkInformation::contextDestroyed(ExecutionContext*) {
|
| void NetworkInformation::startObserving() {
|
| if (!m_observing && !m_contextStopped) {
|
| m_type = networkStateNotifier().connectionType();
|
| - networkStateNotifier().addObserver(
|
| + networkStateNotifier().addConnectionObserver(
|
| this, TaskRunnerHelper::get(TaskType::Networking, getExecutionContext())
|
| .get());
|
| m_observing = true;
|
| @@ -139,7 +139,7 @@ void NetworkInformation::startObserving() {
|
|
|
| void NetworkInformation::stopObserving() {
|
| if (m_observing) {
|
| - networkStateNotifier().removeObserver(
|
| + networkStateNotifier().removeConnectionObserver(
|
| this, TaskRunnerHelper::get(TaskType::Networking, getExecutionContext())
|
| .get());
|
| m_observing = false;
|
|
|