Chromium Code Reviews| Index: src/record/SkRecord.h |
| diff --git a/src/record/SkRecord.h b/src/record/SkRecord.h |
| index 068155e47fa439d0905f01bb10317adc95a98b02..ccfa1dd556441011df4c17f2ff827f560d064f4d 100644 |
| --- a/src/record/SkRecord.h |
| +++ b/src/record/SkRecord.h |
| @@ -167,7 +167,7 @@ |
| // We could just return NULL but it's sort of confusing to return NULL on success. |
| template <typename T> |
| SK_WHEN(SkTIsEmpty<T>, T*) allocCommand() { |
| - static T singleton = {}; |
| + static T singleton; |
| return &singleton; |
| } |