| Index: android_webview/native/aw_contents.cc
|
| diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
|
| index d92640407a20a6f15e71cc9ae7029ef0c4c8b494..58782a83c208964e36fded331efb7e40a849e4ac 100644
|
| --- a/android_webview/native/aw_contents.cc
|
| +++ b/android_webview/native/aw_contents.cc
|
| @@ -491,11 +491,8 @@ void AwContents::InvokeGeolocationCallback(JNIEnv* env,
|
| jboolean value,
|
| jstring origin) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| - if (pending_geolocation_prompts_.empty()) {
|
| - LOG(WARNING) << "Response for this geolocation request has been received."
|
| - << " Ignoring subsequent responses";
|
| + if (pending_geolocation_prompts_.empty())
|
| return;
|
| - }
|
|
|
| GURL callback_origin(base::android::ConvertJavaStringToUTF16(env, origin));
|
| if (callback_origin.GetOrigin() ==
|
| @@ -506,9 +503,6 @@ void AwContents::InvokeGeolocationCallback(JNIEnv* env,
|
| ShowGeolocationPromptHelper(java_ref_,
|
| pending_geolocation_prompts_.front().first);
|
| }
|
| - } else {
|
| - LOG(WARNING) << "Response for this geolocation request has been received."
|
| - << " Ignoring subsequent responses";
|
| }
|
| }
|
|
|
|
|