Index: net/android/network_change_notifier_delegate_android.cc |
diff --git a/net/android/network_change_notifier_delegate_android.cc b/net/android/network_change_notifier_delegate_android.cc |
index 99a6cc2d771432d3943726612d989e83b3f98f15..f623b14798528f5e2ea7cd811893b3fe5b8a867e 100644 |
--- a/net/android/network_change_notifier_delegate_android.cc |
+++ b/net/android/network_change_notifier_delegate_android.cc |
@@ -97,7 +97,7 @@ void NetworkChangeNotifierDelegateAndroid::NotifyConnectionTypeChanged( |
const ConnectionType actual_connection_type = ConvertConnectionType( |
new_connection_type); |
SetCurrentConnectionType(actual_connection_type); |
- observers_->Notify(&Observer::OnConnectionTypeChanged); |
+ observers_->Notify(FROM_HERE, &Observer::OnConnectionTypeChanged); |
} |
jint NetworkChangeNotifierDelegateAndroid::GetConnectionType(JNIEnv*, |
@@ -113,7 +113,8 @@ void NetworkChangeNotifierDelegateAndroid::NotifyMaxBandwidthChanged( |
DCHECK(thread_checker_.CalledOnValidThread()); |
DCHECK(new_max_bandwidth != GetCurrentMaxBandwidth()); |
SetCurrentMaxBandwidth(new_max_bandwidth); |
- observers_->Notify(&Observer::OnMaxBandwidthChanged, new_max_bandwidth); |
+ observers_->Notify(FROM_HERE, &Observer::OnMaxBandwidthChanged, |
+ new_max_bandwidth); |
} |
void NetworkChangeNotifierDelegateAndroid::AddObserver( |