aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/record/SkRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/record/SkRecord.h')
-rw-r--r--src/record/SkRecord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/record/SkRecord.h b/src/record/SkRecord.h
index 068155e47f..ccfa1dd556 100644
--- a/src/record/SkRecord.h
+++ b/src/record/SkRecord.h
@@ -167,7 +167,7 @@ private:
// 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;
}