Index: src/core/SkMiniRecorder.cpp |
diff --git a/src/core/SkMiniRecorder.cpp b/src/core/SkMiniRecorder.cpp |
index 0a4859f379ba6cb390d1b947e4a79872aef5c42f..ea179d78b33f01ecde8ab682de410afe382c4eaf 100644 |
--- a/src/core/SkMiniRecorder.cpp |
+++ b/src/core/SkMiniRecorder.cpp |
@@ -70,7 +70,7 @@ SkMiniRecorder::~SkMiniRecorder() { |
#define TRY_TO_STORE(Type, ...) \ |
if (fState != State::kEmpty) { return false; } \ |
fState = State::k##Type; \ |
- new (fBuffer.get()) Type(__VA_ARGS__); \ |
+ new (fBuffer.get()) Type{__VA_ARGS__}; \ |
return true |
bool SkMiniRecorder::drawBitmapRect(const SkBitmap& bm, const SkRect* src, const SkRect& dst, |