Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1220)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java

Issue 350703003: aw: Use HashMap instead of ArrayMap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: landmine Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContentsClient.java ('k') | build/get_landmines.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]);
}
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContentsClient.java ('k') | build/get_landmines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698