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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java

Issue 522943003: [Android] Fix findbugs errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed threading issues in HttpAuthDatabase constructor Created 6 years, 3 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
index ba4850ee98c12611bff52e3de8ccd74457637552..113fad3fa30d1fbec0c7f313ca82cdd9ba59fdb5 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
@@ -32,7 +32,7 @@ public class HttpAuthDatabaseTest extends AndroidTestCase {
@SmallTest
@Feature({"AndroidWebView"})
public void testAccessHttpAuthUsernamePassword() throws Exception {
- HttpAuthDatabase instance = new HttpAuthDatabase(getContext(), TEST_DATABASE);
+ HttpAuthDatabase instance = HttpAuthDatabase.newInstance(getContext(), TEST_DATABASE);
String host = "http://localhost:8080";
String realm = "testrealm";

Powered by Google App Engine
This is Rietveld 408576698