Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ffbb81e authored by Cary Clark's avatar Cary Clark
Browse files

Check mNativeClass != null in public functions

Change-Id: I74ec88626458870cf4d76d0bfe17e65f603977ef
http://3033688
parent 5fe721f5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;