| Index: chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyFormatter.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyFormatter.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyFormatter.java
|
| index e3b9291a344f74c9314f385b8be5d1bd70abbad4..e8694fbadb309538e97082530d2b7fa939cf3288 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyFormatter.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/CurrencyFormatter.java
|
| @@ -37,7 +37,8 @@ public class CurrencyFormatter {
|
| assert currencyCode != null : "currencyCode should not be null";
|
| assert userLocale != null : "userLocale should not be null";
|
|
|
| - // Note that this technically leaks the native object.
|
| + // Note that this pointer could leak the native object. The called must call destroy() to
|
| + // ensure that the native object is destroyed.
|
| mCurrencyFormatterAndroid = nativeInitCurrencyFormatterAndroid(
|
| currencyCode, currencySystem == null ? "" : currencySystem, userLocale.toString());
|
| }
|
|
|