Index: components/web_contents_delegate_android/web_contents_delegate_android.cc |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
index 9524e876a521961a5237a1b42b983d693a95aa09..167d2d0509c256b45fd3d71bde1f1967ff8f9e79 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc |
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
@@ -150,7 +150,8 @@ |
changed_flags); |
} |
-void WebContentsDelegateAndroid::VisibleSSLStateChanged(WebContents* source) { |
+void WebContentsDelegateAndroid::VisibleSSLStateChanged( |
+ const WebContents* source) { |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env); |
if (obj.is_null()) |