| Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
|
| index 135a3f9f08bef93c2707fd0ec5a24ce53e51815c..de7a8c568274bdfb946c2e88445fc977438ce1e3 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUiErrorView.java
|
| @@ -28,11 +28,13 @@ public class PaymentRequestUiErrorView extends BoundedLinearLayout {
|
| /**
|
| * Initializes the view with the correct strings.
|
| *
|
| - * @param title Title of the webpage.
|
| - * @param origin Origin of the webpage.
|
| + * @param title Title of the webpage.
|
| + * @param origin Origin of the webpage.
|
| + * @param securityLevel The security level of the page that invoked PaymentRequest.
|
| */
|
| - public void initialize(String title, String origin) {
|
| - ((PaymentRequestHeader) findViewById(R.id.header)).setTitleAndOrigin(title, origin);
|
| + public void initialize(String title, String origin, int securityLevel) {
|
| + ((PaymentRequestHeader) findViewById(R.id.header))
|
| + .setTitleAndOrigin(title, origin, securityLevel);
|
|
|
| // Remove the close button, then expand the page information to take up the space formerly
|
| // occupied by the X.
|
|
|