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
This commit is contained in:
Leon Scroggins III
2020-01-29 15:58:45 -05:00
parent a698362252
commit a2a92080fc

View File

@@ -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);
}