| Index: Source/core/html/canvas/WebGLDepthTexture.cpp
|
| diff --git a/Source/core/html/canvas/WebGLDepthTexture.cpp b/Source/core/html/canvas/WebGLDepthTexture.cpp
|
| index c12beec4ed27f66721781d5c0c50dc7c830b710c..6a450c2eb426d7edf548cc0d519fa92aa4f8289e 100644
|
| --- a/Source/core/html/canvas/WebGLDepthTexture.cpp
|
| +++ b/Source/core/html/canvas/WebGLDepthTexture.cpp
|
| @@ -47,9 +47,9 @@ WebGLExtension::ExtensionName WebGLDepthTexture::getName() const
|
| return WebGLDepthTextureName;
|
| }
|
|
|
| -PassOwnPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context)
|
| +PassRefPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context)
|
| {
|
| - return adoptPtr(new WebGLDepthTexture(context));
|
| + return adoptRef(new WebGLDepthTexture(context));
|
| }
|
|
|
| bool WebGLDepthTexture::supported(WebGLRenderingContext* context)
|
|
|