Index: Source/core/dom/DOMArrayBufferDeallocationObserver.cpp |
diff --git a/Source/core/dom/DOMArrayBufferDeallocationObserver.cpp b/Source/core/dom/DOMArrayBufferDeallocationObserver.cpp |
index 371a8dc7ea885004f7db10f365881926ac8c614d..f2d77f119c081534bfdb79147c7a6baf98ed8d19 100644 |
--- a/Source/core/dom/DOMArrayBufferDeallocationObserver.cpp |
+++ b/Source/core/dom/DOMArrayBufferDeallocationObserver.cpp |
@@ -10,11 +10,9 @@ |
namespace blink { |
-DOMArrayBufferDeallocationObserver* DOMArrayBufferDeallocationObserver::instance() |
+DOMArrayBufferDeallocationObserver& DOMArrayBufferDeallocationObserver::instance() |
{ |
- AtomicallyInitializedStatic( |
- DOMArrayBufferDeallocationObserver*, |
- deallocationObserver = new DOMArrayBufferDeallocationObserver); |
+ AtomicallyInitializedStaticReference(DOMArrayBufferDeallocationObserver, deallocationObserver, new DOMArrayBufferDeallocationObserver); |
return deallocationObserver; |
} |