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

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

Issue 27500004: Listen for new system certificates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload Created 7 years, 2 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/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 26c026d485a22739b1fd045160985ea2ace9b5f5..507960a5b03a50a3f03c13866c27358007deaee8 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1312,7 +1312,8 @@ public class AwContents {
*/
public SslCertificate getCertificate() {
if (mNativeAwContents == 0) return null;
- return SslUtil.getCertificateFromDerBytes(nativeGetCertificate(mNativeAwContents));
+ return SslUtil.getCertificateFromDerBytes(mContainerView.getContext(),
+ nativeGetCertificate(mNativeAwContents));
}
/**

Powered by Google App Engine
This is Rietveld 408576698