Index: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java |
index 087e01714ce6a61651e6bcb611953fb84643475b..bee4bb96d15f35bc64da94d99b58e43fd2f44435 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java |
@@ -4,12 +4,12 @@ |
package org.chromium.android_webview; |
-import android.util.ArrayMap; |
- |
import org.chromium.android_webview.AwContentsClient; |
import org.chromium.base.CalledByNative; |
import org.chromium.base.JNINamespace; |
+import java.util.HashMap; |
+ |
/** |
* Delegate for handling callbacks. All methods are called on the IO thread. |
* |
@@ -55,7 +55,7 @@ public abstract class AwContentsIoThreadClient { |
params.isMainFrame = isMainFrame; |
params.hasUserGesture = hasUserGesture; |
params.method = method; |
- params.requestHeaders = new ArrayMap<String, String>(requestHeaderNames.length); |
+ params.requestHeaders = new HashMap<String, String>(requestHeaderNames.length); |
for (int i = 0; i < requestHeaderNames.length; ++i) { |
params.requestHeaders.put(requestHeaderNames[i], requestHeaderValues[i]); |
} |