Index: components/cronet/android/test/network_change_notifier_util.cc |
diff --git a/components/cronet/android/test/network_change_notifier_util.cc b/components/cronet/android/test/network_change_notifier_util.cc |
index 07f41d724859ee8b0dbc2f70a1f372b55cf70eb4..b6444aa11967b808b92c74d7ee5b8bfd670872ce 100644 |
--- a/components/cronet/android/test/network_change_notifier_util.cc |
+++ b/components/cronet/android/test/network_change_notifier_util.cc |
@@ -45,7 +45,9 @@ class TestIPAddressObserver |
// Adds a TestIPAddressObserver to the list of IPAddressObservers, and returns |
// a boolean indicating whether the TestIPAddressObserver has received |
// notification when network changes. |
-static jboolean IsTestIPAddressObserverCalled(JNIEnv* jenv, jclass jcaller) { |
+static jboolean IsTestIPAddressObserverCalled( |
+ JNIEnv* jenv, |
+ const JavaParamRef<jclass>& jcaller) { |
// This method is called on a Java thread with no MessageLoop, but we need |
// one for the NetworkChangeNotifier to call the observer on. |
base::MessageLoop loop; |