| Index: Source/platform/image-decoders/ImageDecoder.h
|
| diff --git a/Source/platform/image-decoders/ImageDecoder.h b/Source/platform/image-decoders/ImageDecoder.h
|
| index dfb6e54967f1735028ef26c2622783e483318a81..178b6f57dc590c456945b12db5bef28459c9c99e 100644
|
| --- a/Source/platform/image-decoders/ImageDecoder.h
|
| +++ b/Source/platform/image-decoders/ImageDecoder.h
|
| @@ -232,9 +232,9 @@ public:
|
|
|
| static qcms_profile* qcmsOutputDeviceProfile()
|
| {
|
| - AtomicallyInitializedStatic(OutputDeviceProfile*, outputDeviceProfile = new OutputDeviceProfile());
|
| + AtomicallyInitializedStaticReference(OutputDeviceProfile, outputDeviceProfile, new OutputDeviceProfile);
|
|
|
| - return outputDeviceProfile->profile();
|
| + return outputDeviceProfile.profile();
|
| }
|
| #endif
|
|
|
|
|