| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| index 5973aefea5120b20a6900cf2b995937f6f4653d0..84b34e95d03454db3be3972368e30d1337a8348b 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
| @@ -257,8 +257,6 @@ public class ContentViewCore
|
| private int mOverdrawBottomHeightPix;
|
| private int mViewportSizeOffsetWidthPix;
|
| private int mViewportSizeOffsetHeightPix;
|
| - private int mLocationInWindowX;
|
| - private int mLocationInWindowY;
|
|
|
| // Cached copy of all positions and scales as reported by the renderer.
|
| private final RenderCoordinates mRenderCoordinates;
|
| @@ -1494,15 +1492,6 @@ public class ContentViewCore
|
| }
|
|
|
| /**
|
| - * Called when the ContentView's position in the activity window changed. This information is
|
| - * used for cropping screenshots.
|
| - */
|
| - public void onLocationInWindowChanged(int x, int y) {
|
| - mLocationInWindowX = x;
|
| - mLocationInWindowY = y;
|
| - }
|
| -
|
| - /**
|
| * Called when the underlying surface the compositor draws to changes size.
|
| * This may be larger than the viewport size.
|
| */
|
| @@ -3012,16 +3001,6 @@ public class ContentViewCore
|
| }
|
|
|
| @CalledByNative
|
| - private int getLocationInWindowX() {
|
| - return mLocationInWindowX;
|
| - }
|
| -
|
| - @CalledByNative
|
| - private int getLocationInWindowY() {
|
| - return mLocationInWindowY;
|
| - }
|
| -
|
| - @CalledByNative
|
| private static Rect createRect(int x, int y, int right, int bottom) {
|
| return new Rect(x, y, right, bottom);
|
| }
|
|
|