* commit '66b5a2b25bbe9844fc538e383922a0866c0baec0': Initialize pointer members to NULL to avoid illegal reference
This commit is contained in:
@@ -145,7 +145,7 @@ struct SkiaBitmapShader: public SkiaShader {
|
||||
GLuint* textureUnit);
|
||||
|
||||
private:
|
||||
SkiaBitmapShader() {
|
||||
SkiaBitmapShader() : mBitmap(NULL), mTexture(NULL) {
|
||||
}
|
||||
|
||||
SkBitmap* mBitmap;
|
||||
|
||||
Reference in New Issue
Block a user