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