Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index 1aad1f5d21a26caee7de0d8928badb31e77b2eea..ebe83fb8ef87c46cfe2d219171291063d054f796 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -1107,7 +1107,7 @@ void AwContents::EnableOnNewPicture(JNIEnv* env, |
namespace { |
void InvokeVisualStateCallback(const JavaObjectWeakGlobalRef& java_ref, |
- long request_id, |
+ jlong request_id, |
ScopedJavaGlobalRef<jobject>* callback, |
bool result) { |
JNIEnv* env = AttachCurrentThread(); |
@@ -1120,7 +1120,7 @@ void InvokeVisualStateCallback(const JavaObjectWeakGlobalRef& java_ref, |
} // namespace |
void AwContents::InsertVisualStateCallback( |
- JNIEnv* env, jobject obj, long request_id, jobject callback) { |
+ JNIEnv* env, jobject obj, jlong request_id, jobject callback) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
ScopedJavaGlobalRef<jobject>* j_callback = new ScopedJavaGlobalRef<jobject>(); |
j_callback->Reset(env, callback); |