| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index 099a6e9005e63afe886bb6fe05ad19d16df52394..f85b6994fd82c8bfbd9e402d7e3c17a90fb0f0d6 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -714,9 +714,9 @@ public class AwContents {
|
| }
|
|
|
| public Picture capturePicture() {
|
| - return nativeCapturePicture(mNativeAwContents,
|
| - mScrollOffsetManager.computeHorizontalScrollRange(),
|
| - mScrollOffsetManager.computeVerticalScrollRange());
|
| + return new AwPicture(nativeCapturePicture(mNativeAwContents,
|
| + mScrollOffsetManager.computeHorizontalScrollRange(),
|
| + mScrollOffsetManager.computeVerticalScrollRange()));
|
| }
|
|
|
| /**
|
| @@ -1811,7 +1811,7 @@ public class AwContents {
|
| private native void nativeSetBackgroundColor(int nativeAwContents, int color);
|
|
|
| private native int nativeGetAwDrawGLViewContext(int nativeAwContents);
|
| - private native Picture nativeCapturePicture(int nativeAwContents, int width, int height);
|
| + private native int nativeCapturePicture(int nativeAwContents, int width, int height);
|
| private native void nativeEnableOnNewPicture(int nativeAwContents, boolean enabled);
|
|
|
| private native void nativeInvokeGeolocationCallback(
|
|
|