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

Commit a2a92080 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove unnecessary gInited

Test: CtsGraphicsTestCases

It looks like this was originally used to make sure we did some sort of
initialization, but the initialization has been removed. Remove the
static variable, too.

Change-Id: I0a171975d8d17ebd9b1c8c85912031ef1c9e1a44
parent a6983622
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -277,13 +277,6 @@ private:

SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream,
                                         jbyteArray storage) {
    static bool gInited;

    if (!gInited) {

        gInited = true;
    }

    return new SkJavaOutputStream(env, stream, storage);
}