| Index: chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGridLayout.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGridLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGridLayout.java
|
| index 45341c4d12e592cb79945d6aa5753f1012597780..99ee8ff73b7800e6e9479d2a107e7229aaedbe6b 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGridLayout.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/suggestions/TileGridLayout.java
|
| @@ -12,6 +12,7 @@
|
| import android.widget.FrameLayout;
|
|
|
| import org.chromium.base.ApiCompatibilityUtils;
|
| +import org.chromium.base.VisibleForTesting;
|
| import org.chromium.chrome.R;
|
| import org.chromium.chrome.browser.util.MathUtils;
|
|
|
| @@ -161,7 +162,8 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
| }
|
|
|
| /** @return A tile view associated to the provided URL, or {@code null} if none is found. */
|
| - private TileView getTileView(String url) {
|
| + @VisibleForTesting
|
| + TileView getTileView(String url) {
|
| int childCount = getChildCount();
|
| for (int i = 0; i < childCount; i++) {
|
| TileView tileView = (TileView) getChildAt(i);
|
|
|