| Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| index 2caf6a98d8f43e23385d32e3a905c1ec4f7cf174..5aaa32f92c8c494b3e876ae48aaaa858e91fad2f 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| @@ -139,8 +139,8 @@ class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
|
| // TODO(mkosiba) We should be using something akin to the JsResultReceiver as the
|
| // callback parameter (instead of ContentViewCore) and implement a way of converting
|
| // that to a pair of messages.
|
| - final int MSG_CONTINUE_PENDING_RELOAD = 1;
|
| - final int MSG_CANCEL_PENDING_RELOAD = 2;
|
| + final int msgContinuePendingReload = 1;
|
| + final int msgCancelPendingReload = 2;
|
|
|
| // TODO(sgurun) Remember the URL to cancel the reload behavior
|
| // if it is different than the most recent NavigationController entry.
|
| @@ -148,11 +148,11 @@ class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
|
| @Override
|
| public void handleMessage(Message msg) {
|
| switch(msg.what) {
|
| - case MSG_CONTINUE_PENDING_RELOAD: {
|
| + case msgContinuePendingReload: {
|
| contentViewCore.continuePendingReload();
|
| break;
|
| }
|
| - case MSG_CANCEL_PENDING_RELOAD: {
|
| + case msgCancelPendingReload: {
|
| contentViewCore.cancelPendingReload();
|
| break;
|
| }
|
| @@ -163,8 +163,8 @@ class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
|
| }
|
| };
|
|
|
| - Message resend = handler.obtainMessage(MSG_CONTINUE_PENDING_RELOAD);
|
| - Message dontResend = handler.obtainMessage(MSG_CANCEL_PENDING_RELOAD);
|
| + Message resend = handler.obtainMessage(msgContinuePendingReload);
|
| + Message dontResend = handler.obtainMessage(msgCancelPendingReload);
|
| mContentsClient.onFormResubmission(dontResend, resend);
|
| }
|
|
|
|
|