diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-01-23 13:58:23 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-23 20:49:29 +0000 |
commit | 37834c85b8c729a24cea4bbbf8cf64298350c04d (patch) | |
tree | f21032f557545d9742a6652ac386fb2ac5cbcdfe /src/core | |
parent | 3bfba2a731015af41547c932987a667b5b015246 (diff) |
Various MSAN fixes
Initialize fBitmap.* in SkPictureData
Change-Id: I72c91a3a85881ae0ca7f64702263e2f8ea02a5c8
Reviewed-on: https://skia-review.googlesource.com/98740
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkPictureData.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp index 0d729f8a75..470e4d93ce 100644 --- a/src/core/SkPictureData.cpp +++ b/src/core/SkPictureData.cpp @@ -117,6 +117,8 @@ void SkPictureData::init() { fVerticesCount = 0; fImageRefs = nullptr; fImageCount = 0; + fBitmapImageCount = 0; + fBitmapImageRefs = nullptr; fFactoryPlayback = nullptr; } |