chromium/components/browser_ui/util/android/java/src/org/chromium/components/browser_ui/util/GlobalDiscardableReferencePool.java

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.components.browser_ui.util;

import org.chromium.base.DiscardableReferencePool;

/**
 * A global accessor to the DiscardableReferencePool.
 *
 * This DiscardableReferencePool is created upon first access, and lives forever.
 */
public class GlobalDiscardableReferencePool {
    static final DiscardableReferencePool INSTANCE = new DiscardableReferencePool();

    public static DiscardableReferencePool getReferencePool() {
        return INSTANCE;
    }
}