| Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| index e948d064a074f037125f5b8f8c262d99e5a21491..b8737cfe4d3014643ac0cc87fb89f72437bc5d79 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java
|
| @@ -488,10 +488,8 @@ import java.util.UUID;
|
| }
|
|
|
| @Override
|
| - public void getContentBitmapAsync(
|
| - Bitmap.Config config, float scale, Rect srcRect, ContentBitmapCallback callback) {
|
| - nativeGetContentBitmap(mNativeWebContentsAndroid, callback, config, scale,
|
| - srcRect.left, srcRect.top, srcRect.width(), srcRect.height());
|
| + public void getContentBitmapAsync(int width, int height, ContentBitmapCallback callback) {
|
| + nativeGetContentBitmap(mNativeWebContentsAndroid, width, height, callback);
|
| }
|
|
|
| @CalledByNative
|
| @@ -613,9 +611,8 @@ import java.util.UUID;
|
| long nativeWebContentsAndroid, AccessibilitySnapshotCallback callback);
|
| private native void nativeSetOverscrollRefreshHandler(
|
| long nativeWebContentsAndroid, OverscrollRefreshHandler nativeOverscrollRefreshHandler);
|
| - private native void nativeGetContentBitmap(long nativeWebContentsAndroid,
|
| - ContentBitmapCallback callback, Bitmap.Config config, float scale,
|
| - float x, float y, float width, float height);
|
| + private native void nativeGetContentBitmap(
|
| + long nativeWebContentsAndroid, int width, int height, ContentBitmapCallback callback);
|
| private native void nativeReloadLoFiImages(long nativeWebContentsAndroid);
|
| private native int nativeDownloadImage(long nativeWebContentsAndroid,
|
| String url, boolean isFavicon, int maxBitmapSize,
|
|
|