Check mNativeClass != null in public functions
Change-Id: I74ec88626458870cf4d76d0bfe17e65f603977ef http://3033688
This commit is contained in:
@@ -1972,6 +1972,7 @@ public class WebView extends AbsoluteLayout
|
||||
* bounds of the view.
|
||||
*/
|
||||
public Picture capturePicture() {
|
||||
if (mNativeClass == 0) return null;
|
||||
Picture result = new Picture();
|
||||
nativeCopyBaseContentToPicture(result);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user