| Index: chrome/android/javatests/src/org/chromium/chrome/browser/OSKOverscrollTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/OSKOverscrollTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/OSKOverscrollTest.java
|
| index 37136debaeaeb55061a9d0547fc2a56f6e8c8de0..b2a2db331b7283a71b644502052cef88c370f8dd 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/OSKOverscrollTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/OSKOverscrollTest.java
|
| @@ -151,8 +151,8 @@ public class OSKOverscrollTest extends ChromeActivityTestCaseBase<ChromeActivity
|
| // Verify that the size of the viewport before the OSK show is equal to the size of
|
| // the viewport after the OSK show plus the size of the keyboard.
|
| int viewportHeightAfterCss = getViewportHeight(webContentsRef.get());
|
| - int keyboardHeight =
|
| - viewCoreRef.get().getContentViewClient().getSystemWindowInsetBottom();
|
| + int keyboardHeight = getActivity().getActivityTab().getViewDelegate()
|
| + .getSystemWindowInsetBottom();
|
|
|
| int priorHeight = (int) (viewportHeightBeforeCss * cssToDevicePixFactor);
|
| int afterHeightPlusKeyboard =
|
|
|