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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user