diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-09 12:35:11 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-09 12:35:11 +0000 |
commit | ee44bd0c40e393afe5deccf34c6abda1dd459193 (patch) | |
tree | 0de806f5771046f121f9a6f2688b74b0db882126 /android_webview/native/aw_contents.h | |
parent | 06fee5bd02ba9d8b6ed9c8d5c19b6260df468f7d (diff) | |
download | chromium_src-ee44bd0c40e393afe5deccf34c6abda1dd459193.zip chromium_src-ee44bd0c40e393afe5deccf34c6abda1dd459193.tar.gz chromium_src-ee44bd0c40e393afe5deccf34c6abda1dd459193.tar.bz2 |
Android WebView: Make a custom Picture subclass
This allows the capturePicture path to work fully even when using
mismatched skia version to the system. AwCreatePictureFunction is now
obsolete and can be removed in a followup.
BUG=b/9814370
Review URL: https://chromiumcodereview.appspot.com/22035002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/aw_contents.h')
-rw-r--r-- | android_webview/native/aw_contents.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h index 270201a..38b433d 100644 --- a/android_webview/native/aw_contents.h +++ b/android_webview/native/aw_contents.h @@ -117,10 +117,7 @@ class AwContents : public FindHelper::Listener, jint visible_right, jint visible_bottom); jint GetAwDrawGLViewContext(JNIEnv* env, jobject obj); - base::android::ScopedJavaLocalRef<jobject> CapturePicture(JNIEnv* env, - jobject obj, - int width, - int height); + jint CapturePicture(JNIEnv* env, jobject obj, int width, int height); void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); // Geolocation API support |