Index: Source/platform/graphics/ImageDecodingStore.cpp |
diff --git a/Source/platform/graphics/ImageDecodingStore.cpp b/Source/platform/graphics/ImageDecodingStore.cpp |
index 59d0fa60d8e492a45ef7886dec27ba10183a4d5f..1d7e1c942cf4a2968aa5570dcf69c6f611d2caa7 100644 |
--- a/Source/platform/graphics/ImageDecodingStore.cpp |
+++ b/Source/platform/graphics/ImageDecodingStore.cpp |
@@ -53,9 +53,9 @@ ImageDecodingStore::~ImageDecodingStore() |
#endif |
} |
-ImageDecodingStore* ImageDecodingStore::instance() |
+ImageDecodingStore& ImageDecodingStore::instance() |
{ |
- AtomicallyInitializedStatic(ImageDecodingStore*, store = ImageDecodingStore::create().leakPtr()); |
+ AtomicallyInitializedStaticReference(ImageDecodingStore, store, ImageDecodingStore::create().leakPtr()); |
return store; |
} |