summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc b/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc
index 1997b11d49a..22c765f1f0f 100644
--- a/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc
+++ b/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_astc.cc
@@ -49,7 +49,7 @@ WebGLExtensionName WebGLCompressedTextureASTC::GetName() const {
WebGLCompressedTextureASTC* WebGLCompressedTextureASTC::Create(
WebGLRenderingContextBase* context) {
- return new WebGLCompressedTextureASTC(context);
+ return MakeGarbageCollected<WebGLCompressedTextureASTC>(context);
}
bool WebGLCompressedTextureASTC::Supported(WebGLRenderingContextBase* context) {