Index: src/core/SkBigPicture.cpp |
diff --git a/src/core/SkBigPicture.cpp b/src/core/SkBigPicture.cpp |
index 61f3a0ef1c34a686964492b8beb70199f4ef7e04..02011ee745c558ff0bfd81d6d41c3275e6b9939a 100644 |
--- a/src/core/SkBigPicture.cpp |
+++ b/src/core/SkBigPicture.cpp |
@@ -58,7 +58,8 @@ |
} |
const SkBigPicture::Analysis& SkBigPicture::analysis() const { |
- return *fAnalysis.get([&]{ return new Analysis(*fRecord); }); |
+ auto create = [&]() { return new Analysis(*fRecord); }; |
+ return *fAnalysis.get(create); |
} |
SkRect SkBigPicture::cullRect() const { return fCullRect; } |